diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php
index c8b9ae4..c469479 100644
--- a/core/lib/Drupal/Component/Render/FormattableMarkup.php
+++ b/core/lib/Drupal/Component/Render/FormattableMarkup.php
@@ -32,30 +32,9 @@
  * This class is designed for formatting messages that are mostly text, not as
  * an HTML template language. As such:
  * - The passed in string should contain no (or minimal) HTML.
- * - Variable placeholders should not be used within the "<" and ">" of an
- *   HTML tag, such as in HTML attribute values. This would be a security
- *   risk. Examples:
- *   @code
- *     // Insecure (placeholder within "<" and ">"):
- *     $this->placeholderFormat('<@variable>text</@variable>', ['@variable' => $variable]);
- *     // Insecure (placeholder within "<" and ">"):
- *     $this->placeholderFormat('<a @variable>link text</a>', ['@variable' => $variable]);
- *     // Insecure (placeholder within "<" and ">"):
- *     $this->placeholderFormat('<a title="@variable">link text</a>', ['@variable' => $variable]);
- *   @endcode
- *   Only the "href" attribute is supported via the special ":variable"
- *   placeholder, to allow simple links to be inserted:
- *   @code
- *     // Secure (usage of ":variable" placeholder for href attribute):
- *     $this->placeholderFormat('<a href=":variable">link text</a>', [':variable' , $variable]);
- *     // Secure (usage of ":variable" placeholder for href attribute):
- *     $this->placeholderFormat('<a href=":variable" title="static text">link text</a>', [':variable' => $variable]);
- *     // Insecure (the "@variable" placeholder does not filter dangerous
- *     // protocols):
- *     $this->placeholderFormat('<a href="@variable">link text</a>', ['@variable' => $variable]);
- *     // Insecure ("@variable" placeholder within "<" and ">"):
- *     $this->placeholderFormat('<a href=":url" title="@variable">link text</a>', [':url' => $url, '@variable' => $variable]);
- *   @endcode
+ * - The result of casting this object to a string should not be used within the
+ *   "<" and ">" of an HTML tag, such as in HTML attribute values. This would be
+ *   a security risk.
  * To build non-minimal HTML, use an HTML template language such as Twig,
  * rather than this class.
  *
@@ -83,7 +62,7 @@ class FormattableMarkup implements MarkupInterface {
    * @param array $arguments
    *   An array with placeholder replacements, keyed by placeholder. See
    *   \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
-   *   additional information about placeholders.
+   *   additional information about correct and secure use of placeholders.
    *
    * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
    */
@@ -134,39 +113,50 @@ public function jsonSerialize() {
    *   placeholder in $string. Sanitization and formatting will be done before
    *   replacement. The type of sanitization and formatting depends on the first
    *   character of the key:
-   *   - @variable: When the placeholder replacement value is:
+   *   - @variable: Use as the default choice for anything displayed on the
+   *     site. Do not use within the "<" and ">" of an HTML tag, such as in HTML
+   *     attribute values. Doing so is a security risk.
+   *     When the placeholder replacement value is:
    *     - A string, the replaced value in the returned string will be sanitized
    *       using \Drupal\Component\Utility\Html::escape().
-   *     - A MarkupInterface object, the replaced value in the returned string
-   *       will not be sanitized.
-   *     - A MarkupInterface object cast to a string, the replaced value in the
-   *       returned string be forcibly sanitized using
-   *       \Drupal\Component\Utility\Html::escape().
+   *       A call like:
+   *       @code
+   *         $this->placeholderFormat('Prefix @output_text', ['@output_text' => 'text output.']);
+   *       @endcode
+   *       returns the following HTML string:
+   *       @code
+   *         Prefix text output.
+   *       @endcode
+   *     - A MarkupInterface object, the object will be cast to a string and not
+   *       sanitized.
+   *       @code
+   *         $this->placeholderFormat('Non-sanitized replacement value: @text', ['@text' => $safe_string_interface_object));
+   *       @endcode
+   *       To force sanitization of a MarkupInterface object, cast the
+   *       replacement value to a string, since it is not known what strategy a
+   *       MarkupInterface object uses for sanitization.
    *       @code
    *         $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
    *       @endcode
-   *     Use this placeholder as the default choice for anything displayed on
-   *     the site, but not within HTML attributes, JavaScript, or CSS. Doing so
-   *     is a security risk.
-   *   - %variable: Use when the replacement value is to be wrapped in <em>
-   *     tags.
+   *   - %variable: Use when @variable would be appropriate, but the placeholder
+   *     value will also be wrapped in <em> tags with a class. As with
+   *     @variable, do not use within the "<" and ">" of an HTML tag, such as in
+   *     HTML attribute values. Doing so is a security risk.
    *     A call like:
    *     @code
-   *       $string = "%output_text";
-   *       $arguments = ['output_text' => 'text output here.'];
-   *       $this->placeholderFormat($string, $arguments);
+   *       $this->placeholderFormat('Prefix %output_text', ['%output_text' => 'text output.']);
    *     @endcode
-   *     makes the following HTML code:
+   *     returns the following HTML string:
    *     @code
-   *       <em class="placeholder">text output here.</em>
+   *       Prefix <em class="placeholder">text output.</em>
    *     @endcode
-   *     As with @variable, do not use this within HTML attributes, JavaScript,
-   *     or CSS. Doing so is a security risk.
-   *   - :variable: Return value is escaped with
+   *   - :variable: Use when the return value is to be used as a URL value of an
+   *     HTML attribute. Only the "href" attribute is supported.
+   *     Return value is escaped with
    *     \Drupal\Component\Utility\Html::escape() and filtered for dangerous
    *     protocols using UrlHelper::stripDangerousProtocols(). Use this when
-   *     using the "href" attribute, ensuring the attribute value is always
-   *     wrapped in quotes:
+   *     using the "href" attribute, ensuring the value is always wrapped in
+   *     quotes.
    *     @code
    *     // Secure (with quotes):
    *     $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, @variable => $variable]);
@@ -179,6 +169,30 @@ public function jsonSerialize() {
    *     Url::fromUri($user_input)->toString() (which either throws an exception
    *     or returns a well-formed URL) before passing the result into a
    *     ":variable" placeholder.
+   *     @todo Add some advice and stronger warnings.
+   *       https://www.drupal.org/node/2569041
+   *
+   *   In $string, only the "href" HTML attribute, which takes a URL as the
+   *   value, is supported via the special ":variable" placeholder. With the
+   *   "href" attribute, the ":variable" placeholder allows simple links to be
+   *   inserted:
+   *     - Secure: @code <a href=":variable">link text</a> @endcode
+   *     - Secure: @code <a href=":variable" title="static text">link text</a> @endcode
+   *     - Secure: @code <a href=":variable">@variable</a> @endcode
+   *   Insecure $string examples:
+   *     - It is insecure in $string to have @ or % placeholders within the "<"
+   *       and ">" of an HTML tag:
+   *       - Insecure: @code <@variable>text</@variable> @endcode
+   *       - Insecure: @code <a @variable>link text</a> @endcode
+   *       - Insecure: @code <a href="@variable">link text</a> @endcode
+   *       - Insecure: @code <a title="@variable">link text</a> @endcode
+   *       - Insecure: @code <a href=":variable" title="@variable">link text</a>@endcode
+   *     - The : placeholder should be used for HTML attribute values, but is
+   *       insecure not to have quotes around the attribute value:
+   *       - Insecure: @code <a href=:variable>@variable</a>@endcode
+   *     - Only the "href" attribute is supported. So, even other attributes
+   *       which take a URL value are unsupported:
+   *       - Insecure: @code <img src=":variable" />@endcode
    *
    * @return string
    *   A formatted HTML string with the placeholders replaced.
