Merge pull request #892 from ulikoehler/develop

Exported HTML ist not W3C valid (has no title tag)
pull/894/head
Matthias Bartelmeß 2012-07-22 11:59:31 -07:00
commit 4f79f74be5
1 changed files with 1 additions and 0 deletions

View File

@ -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' +