summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-02-24 17:09:37 +0100
committerJonas Smedegaard <dr@jones.dk>2014-02-24 17:09:37 +0100
commit1df0523661e81e93381713a8cf9e378681a16455 (patch)
treee63683b84d49e8d3b54faa499c0d808ae71b7780
parentb3555241f00230e1055133ef85adca105c5a3ded (diff)
Fix add end tag for title in html rendering to validate.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e9d11a..a6c98cc 100644
--- a/Makefile
+++ b/Makefile
@@ -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,;' \
"$@"