html5 conformance fixes

This commit is contained in:
Quentin Carbonneaux 2016-03-08 21:56:32 -05:00
parent 430a6b83e0
commit fc1a998292
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,7 @@ html/%.html: %.txt
echo '<link rel="stylesheet"' \
'href="http://c9x.me/css/simple.css"' \
'type="text/css" />'; \
sed -ne '2{s,.*,<title>&</title>,;p;q}' $<; \
echo '<div class="container">'; \
sed -ne '2{s,.*,<h2>&</h2>,;p;q}' $<; \
sed -e '1,3d' $< | ocaml txt.ml; \