You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -183,9 +184,7 @@ public function formatFile($file, $line, $text = null)
183
184
$text = "$text at line $line";
184
185
185
186
if (false !== $link = $this->getFileLink($file, $line)) {
186
-
$flags = ENT_COMPAT | ENT_SUBSTITUTE;
187
-
188
-
returnsprintf('<a href="%s" title="Click to open this file" class="file_link">%s</a>', htmlspecialchars($link, $flags, $this->charset), $text);
187
+
returnsprintf('<a href="%s" title="Click to open this file" class="file_link">%s</a>', htmlspecialchars($link, ENT_COMPAT | ENT_SUBSTITUTE, $this->charset), $text);
189
188
}
190
189
191
190
return$text;
@@ -215,6 +214,27 @@ public function formatFileFromText($text)
0 commit comments