We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61910bc commit 198be2fCopy full SHA for 198be2f
doclets/standard/sourceWriter.php
@@ -90,7 +90,7 @@ public function sourceWriter(&$doclet)
90
$geshi = new GeSHi($data[0], 'php');
91
$source = $geshi->parse_code();
92
} else {
93
- $source = '<pre>'.$data[0].'</pre>';
+ $source = '<pre>'.htmlspecialchars($data[0]).'</pre>';
94
}
95
96
ob_start();
0 commit comments