aboutsummaryrefslogtreecommitdiffstats
path: root/infrastructure/ace/www/contentcollector.js
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-05 01:27:00 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-02-05 01:27:00 +0100
commit06ba710dccff087c8546aee7812487693ea7e88c (patch)
tree663e6e2ab249b39fb664d3e140fe70474d21ad8a /infrastructure/ace/www/contentcollector.js
parent8a34feb2f88b78a15fb145846df29662803183f9 (diff)
downloadetherpad-06ba710dccff087c8546aee7812487693ea7e88c.tar.gz
etherpad-06ba710dccff087c8546aee7812487693ea7e88c.tar.xz
etherpad-06ba710dccff087c8546aee7812487693ea7e88c.zip
try to implement headlines
Diffstat (limited to 'infrastructure/ace/www/contentcollector.js')
-rw-r--r--infrastructure/ace/www/contentcollector.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/infrastructure/ace/www/contentcollector.js b/infrastructure/ace/www/contentcollector.js
index c5d8ddb..41922d7 100644
--- a/infrastructure/ace/www/contentcollector.js
+++ b/infrastructure/ace/www/contentcollector.js
@@ -340,6 +340,9 @@ function makeContentCollector(collectStyles, browser, apool, domInterface,
tname == "del") {
doAttrib("strikethrough");
}
+ if (tname == "h1") {
+ doAttrib("h1");
+ }
if (tname == "ul") {
var type;
var rr = cls && /(?:^| )list-(bullet[12345678])\b/.exec(cls);