Added <title> tag to make exported HTML valid
parent
76933f2b1d
commit
90357e0cdc
|
@ -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>' + padId + '</title>' +
|
||||||
'<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