Add Makefile rule to strip stupid column-width directives out of
authorMike Taylor <mike@indexdata.com>
Wed, 2 Oct 2013 15:51:24 +0000 (16:51 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 2 Oct 2013 15:51:24 +0000 (16:51 +0100)
pandoc output.

tools/htdocs/Makefile

index 55963a2..ef73fd9 100644 (file)
@@ -64,7 +64,7 @@ help:
 
 %.html: %.markdown
        rm -f $@
-       pandoc --standalone --toc -c mkws-doc.css $< -o $@
+       pandoc --standalone --toc -c mkws-doc.css $< | sed '/^<col width="[0-9]*%" \/>$//d' > $@
        chmod ugo-w $@
 
 %.odt: %.markdown