mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
escape text before wrap
This commit is contained in:
parent
4e565a72b2
commit
1ef9c91b64
1 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue