Merge pull request #892 from ulikoehler/develop
Exported HTML ist not W3C valid (has no title tag)pull/894/head
commit
4f79f74be5
|
@ -469,6 +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>' + 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