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
): string
{
return htmlspecialchars(
self::_wrap(
$value,
$width
)
return self::_wrap(
htmlspecialchars(
$value
),
$width
);
}