HTML5 Exporter Upgrade

This commit is contained in:
Robin Buse 2011-07-25 16:29:32 -07:00
parent d3e7906951
commit a8e676ea7c

View file

@ -317,14 +317,12 @@ exports.getPadHTMLDocument = function(padId, revNum, noDocType, callback) {
return; return;
} }
var head = (noDocType?'':'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" '+ var head = (noDocType?'':'<!doctype html>')+
'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')+ '<html lang="en">\n'+
'<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">\n'+
(noDocType?'': (noDocType?'':
'<head>\n'+ '<head>\n'+
'<meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n'+ '<meta charset="utf-8">\n'+
'<meta http-equiv="Content-Language" content="en-us" />\n'+ '<style> * { font-family: arial, sans-serif;\n'+
'<style> * { font-family: Arial, sans-serif;\n'+
'font-size: 13px;\n'+ 'font-size: 13px;\n'+
'line-height: 17px; }</style>\n' + 'line-height: 17px; }</style>\n' +
'</head>\n')+ '</head>\n')+