We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63d427 commit e4818a8Copy full SHA for e4818a8
main/wiki/wiki.inc.php
@@ -2511,7 +2511,7 @@ public function export_to_pdf($id, $course_code)
2511
<!-- defines the headers/footers - this must occur before the headers/footers are set -->
2512
2513
<!--mpdf
2514
- <pageheader name="odds" content-left="'.$title_pdf.'" header-style-left="color: #880000; font-style: italic;" line="1" />
+ <pageheader name="odds" content-left="'.htmlspecialchars($title_pdf,ENT_QUOTES).'" header-style-left="color: #880000; font-style: italic;" line="1" />
2515
<pagefooter name="odds" content-right="{PAGENO}/{nb}" line="1" />
2516
2517
<!-- set the headers/footers - they will occur from here on in the document -->
0 commit comments