diff options
-rw-r--r-- | etherpad/src/etherpad/pad/exporthtml.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etherpad/src/etherpad/pad/exporthtml.js b/etherpad/src/etherpad/pad/exporthtml.js index 48ea1a4..2512603 100644 --- a/etherpad/src/etherpad/pad/exporthtml.js +++ b/etherpad/src/etherpad/pad/exporthtml.js @@ -47,8 +47,8 @@ function getPadHTML(pad, revNum) { var apool = pad.pool(); - var tags = ['b','i','u','s']; - var props = ['bold','italic','underline','strikethrough']; + var tags = ['b','i','u','s','h1','h2','h3','h4','h5','h6']; + var props = ['bold','italic','underline','strikethrough','h1','h2','h3','h4','h5','h6']; var anumMap = {}; props.forEach(function(propName, i) { var propTrueNum = apool.putAttrib([propName,true], true); @@ -288,6 +288,7 @@ function getPadHTMLDocument(pad, revNum, noDocType) { '<meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n'+ '<meta http-equiv="Content-Language" content="en-us" />\n'+ '<title>'+'/'+pad.getId()+'</title>\n'+ + '<style type="text/css">h1,h2,h3,h4,h5,h6 { display: inline; }</style>\n' + '</head>\n')+ '<body>'; |