mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
HTML5 Exporter Upgrade
This commit is contained in:
parent
d3e7906951
commit
a8e676ea7c
1 changed files with 4 additions and 6 deletions
|
@ -317,14 +317,12 @@ exports.getPadHTMLDocument = function(padId, revNum, noDocType, callback) {
|
|||
return;
|
||||
}
|
||||
|
||||
var head = (noDocType?'':'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" '+
|
||||
'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')+
|
||||
'<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">\n'+
|
||||
var head = (noDocType?'':'<!doctype html>')+
|
||||
'<html lang="en">\n'+
|
||||
(noDocType?'':
|
||||
'<head>\n'+
|
||||
'<meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n'+
|
||||
'<meta http-equiv="Content-Language" content="en-us" />\n'+
|
||||
'<style> * { font-family: Arial, sans-serif;\n'+
|
||||
'<meta charset="utf-8">\n'+
|
||||
'<style> * { font-family: arial, sans-serif;\n'+
|
||||
'font-size: 13px;\n'+
|
||||
'line-height: 17px; }</style>\n' +
|
||||
'</head>\n')+
|
||||
|
|
Loading…
Reference in a new issue