projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf9890
)
Extend tweak-html to put <div class="pane"> into pandoc 1.5.11 output.
author
Mike Taylor
<mike@indexdata.com>
Thu, 16 Oct 2014 14:04:22 +0000
(15:04 +0100)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/doc/tweak-html
b/doc/tweak-html
index
c0d75ba
..
b12cdec
100755
(executable)
--- a/
doc/tweak-html
+++ b/
doc/tweak-html
@@
-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>";
}