Extend tweak-html to put <div class="pane"> into pandoc 1.5.11 output.
authorMike Taylor <mike@indexdata.com>
Thu, 16 Oct 2014 14:04:22 +0000 (15:04 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 16 Oct 2014 14:04:22 +0000 (15:04 +0100)
This SHOULD fix MKWS-295, but I won't know for sure till I run on caliban.

doc/tweak-html

index c0d75ba..b12cdec 100755 (executable)
@@ -6,7 +6,7 @@ cat ${@+"$@"} |
     sed '/^<col width="[0-9]*%" \/>$/d' |
     sed 's/<body>/&\
 <img src="images\/mkws-logo-300px.png" alt="MKWS logo"\/>/' | awk '
-/^<h[12] id/ {
+/^<(h[12]|div) id/ {
   if (seen) {
     print "</div>";
   }