-
J4.1.4 I have a com_content article override, which simply adds a Until... the title of the article has the javascript used After it was broken, I changed all javascript to use I figured the article titles would all be escaped correctly since we are a long way down the information chain but that is where I was wrong. I still needed to make 1 crucial change from... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
change |
Beta Was this translation helpful? Give feedback.
change
$title = $doc->getTitle();
to
$title = htmlspecialchars($doc->getTitle(), ENT_QUOTES, 'UTF-8');