diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-02-24 17:09:37 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-02-24 17:09:37 +0100 |
commit | 1df0523661e81e93381713a8cf9e378681a16455 (patch) | |
tree | e63683b84d49e8d3b54faa499c0d808ae71b7780 | |
parent | b3555241f00230e1055133ef85adca105c5a3ded (diff) |
Fix add end tag for title in html rendering to validate.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,6 +35,6 @@ $(htmlprogrammefiles): %.html : %.ttl $(eval base = $(call getbase, $<)) wget -O"$@" "http://programme.ecs.soton.ac.uk/tool.php?src=$(base)" perl -pi -0 \ - -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2$$1$$2,ms;' \ + -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2</title>$$1$$2,ms;' \ -e 's,$(base)\K,/index.txt,;' \ "$@" |