Skip to content

Commit fc86809

Browse files
committed
regex quote
1 parent abb69b7 commit fc86809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/templates/header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@
169169
htmlspecialchars($title),
170170
htmlspecialchars($body),
171171
htmlspecialchars($level->value),
172-
htmlspecialchars($title),
173-
htmlspecialchars($body),
172+
preg_quote(htmlspecialchars($title), "/"),
173+
preg_quote(htmlspecialchars($body), "/"),
174174
);
175175
}
176176
if (

0 commit comments

Comments
 (0)