diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php
index c8b9ae4..23aed88 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()
    */
