Escaped title using Security.escapeHTML()
parent
8630de66bf
commit
14582d1eba
|
@ -469,7 +469,7 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
|
||||||
var head =
|
var head =
|
||||||
(noDocType ? '' : '<!doctype html>\n') +
|
(noDocType ? '' : '<!doctype html>\n') +
|
||||||
'<html lang="en">\n' + (noDocType ? '' : '<head>\n' +
|
'<html lang="en">\n' + (noDocType ? '' : '<head>\n' +
|
||||||
'<title>' + padId + '</title>\n' +
|
'<title>' + Security.escapeHTML(padId) + '</title>\n' +
|
||||||
'<meta charset="utf-8">\n' +
|
'<meta charset="utf-8">\n' +
|
||||||
'<style> * { font-family: arial, sans-serif;\n' +
|
'<style> * { font-family: arial, sans-serif;\n' +
|
||||||
'font-size: 13px;\n' +
|
'font-size: 13px;\n' +
|
||||||
|
|
Loading…
Reference in New Issue