diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php index 3d7c27c..caf6a23 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 the placeholder - * value will also be wrapped in 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. + * value will also be wrappped in a placeholder class and wrapped in + * 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. * A call like: * @code * $this->placeholderFormat('Prefix %output_text', ['%output_text' => 'text output.']);