Browse Source

escape text before wrap

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

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

@ -106,11 +106,11 @@ class Markup implements \Yggverse\Yoda\Interface\Model\Gtk\Pango\Markup @@ -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
);
}

Loading…
Cancel
Save