diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php index eaf14cf..3b66e5d 100644 --- a/core/lib/Drupal/Component/Render/FormattableMarkup.php +++ b/core/lib/Drupal/Component/Render/FormattableMarkup.php @@ -139,9 +139,9 @@ public function jsonSerialize() { * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * - %variable: Use when @variable would be appropriate, but you want the - * placeholder value to be wrapped in em tags. 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. + * placeholder value to be wrapped in an em tag with a placeholder 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 * $this->placeholderFormat('Prefix %output_text', ['%output_text' => 'text output.']); @@ -186,7 +186,7 @@ public function jsonSerialize() { * - Insecure: @code link text @endcode * - Insecure: @code link text@endcode * - The : placeholder should be used for HTML "href" attribute values, - * but is insecure not to have quotes around the attribute value: + * but it is insecure not to have quotes around the attribute value: * - Insecure: @code @variable@endcode * - Only the "href" attribute is supported. So, other attributes which * take a URL value are unsupported: