Browse Source

escape text before wrap

PHP-GTK3
yggverse 4 months ago
parent
commit
1ef9c91b64
  1. 8
      src/Abstract/Model/Gtk/Pango/Markup.php

8
src/Abstract/Model/Gtk/Pango/Markup.php

@ -106,11 +106,11 @@ class Markup implements \Yggverse\Yoda\Interface\Model\Gtk\Pango\Markup
int $width = self::WRAP_WIDTH int $width = self::WRAP_WIDTH
): string ): string
{ {
return htmlspecialchars( return self::_wrap(
self::_wrap( htmlspecialchars(
$value, $value
),
$width $width
)
); );
} }

Loading…
Cancel
Save