Skip to content

Commit 10e3a27

Browse files
author
Adam McCann
committed
Bugfix
1 parent 9cfc7d3 commit 10e3a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Formats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function attributes($type, stdClass $attrs = null)
143143

144144
foreach ($attrs as $attr => $value) {
145145

146-
$string .= ' ' . $attr . '="' . $value . '"';
146+
$string .= ' ' . $attr . '="' . htmlentities($value) . '"';
147147
}
148148

149149
return $string;

0 commit comments

Comments
 (0)