]> git.0d.be Git - panikdb.git/commitdiff
wiki: fix intertitle detection
authorFrédéric Péters <fpeters@0d.be>
Sat, 20 Jun 2020 08:38:15 +0000 (10:38 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 20 Jun 2020 08:38:15 +0000 (10:38 +0200)
panikdb/static/js/combo.wiki.js

index de1b22add8ed3546d9e82f723e486f2f17e8d7bc..524b041b0b0dada30cbe83c028ccef054310b61a 100644 (file)
@@ -36,7 +36,7 @@ function auto_anchors() {
 (function(window, document, undefined) {
   var Phylly = {
     BLOCKS: [
-          {name: 'intertitre', tag: 'h4', klass: 'intertitle'},
+          {name: 'intertitre', tag: 'H4', klass: 'intertitle'},
           {name: 'illustration', special: 'img', tag: 'DIV', subtag: true, klass: 'figure'},
           {name: 'code', tag: 'PRE', klass: 'code'},
           {name: 'note', tag: 'DIV', subtag: true, klass: 'note'},