From 1df0523661e81e93381713a8cf9e378681a16455 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 24 Feb 2014 17:09:37 +0100 Subject: Fix add end tag for title in html rendering to validate. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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,^(.*?]*>)(.*?)(?=),\n\n$$2$$1$$2,ms;' \ + -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2$$1$$2,ms;' \ -e 's,$(base)\K,/index.txt,;' \ "$@" -- cgit v1.2.3