Added <title> tag to make exported HTML valid

pull/892/head
Uli Köhler 2012-07-21 21:19:44 +02:00
parent 76933f2b1d
commit 90357e0cdc
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
var head =
(noDocType ? '' : '<!doctype html>\n') +
'<html lang="en">\n' + (noDocType ? '' : '<head>\n' +
'<title>' + padId + '</title>' +
'<meta charset="utf-8">\n' +
'<style> * { font-family: arial, sans-serif;\n' +
'font-size: 13px;\n' +