File: html-rev_made-rel_author.patch

package info (click to toggle)
libparse-debianchangelog-perl 1.2.0-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 848 kB
  • ctags: 200
  • sloc: perl: 1,380; makefile: 24
file content (20 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: replace <link rev="made"> with <link rel="author">
 The former is HTML3.2, obsolete since 4, 5 add adds rel="author".
 rev="made" throws a tidy error in the tests.
Origin: vendor
Bug-Debian: https://bugs.debian.org/829064
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-06-30

--- a/tmpl/html_head.tmpl
+++ b/tmpl/html_head.tmpl
@@ -2,7 +2,7 @@
 	PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 	 "http://www.w3.org/TR/html4/loose.dtd">
 <html lang="en-US"><head><title>Debian Changelog <TMPL_VAR NAME="SOURCE_NEWEST"> (<TMPL_VAR NAME="VERSION_NEWEST">)</title>
-<link rev="made" href="mailto:<TMPL_VAR ESCAPE="URL" NAME="MAINTAINER_NEWEST">">
+<link rel="author" href="mailto:<TMPL_VAR ESCAPE="URL" NAME="MAINTAINER_NEWEST">">
 <meta name="keywords" content="Debian Changelog <TMPL_VAR NAME="SOURCE_NEWEST"> <TMPL_VAR NAME="VERSION_NEWEST">">
 <meta name="generator" content="<TMPL_VAR NAME="MODULE_NAME"> (<TMPL_VAR NAME="MODULE_VERSION">)">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">