escape text before wrap

This commit is contained in:
yggverse 2024-07-30 04:02:07 +03:00
parent 4e565a72b2
commit 1ef9c91b64

View file

@ -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
); );
} }