The following commit has been merged in the master branch:
commit dc07ecb485704fc503dd9504eeccf4cb0144263b
Author: Niels Thykier <[email protected]>
Date: Sun Jan 27 18:34:49 2013 +0100
r/t/{index,tag}.tmpl: Move a <div> outside <p>
According to XHTML strict, <div> tags are not allowed inside a <p>
tag.
Signed-off-by: Niels Thykier <[email protected]>
diff --git a/reporting/templates/index.tmpl b/reporting/templates/index.tmpl
index 3bc5006..d338e37 100644
--- a/reporting/templates/index.tmpl
+++ b/reporting/templates/index.tmpl
@@ -90,10 +90,10 @@
if ($graphs) {
$OUT .= qq( <p>\n);
$OUT .= qq( Evolution of Lintian tags over the past\n);
- $OUT .= qq( $graphs_days days: <div class="graph"><img\n);
+ $OUT .= qq( $graphs_days days:</p>\n);
+ $OUT .= qq( <div class="graph"><img\n);
$OUT .= qq( src="graphs/statistics.svg" alt="History of Lintian\n);
$OUT .= qq( tags" /></div>\n);
- $OUT .= qq( </p>);
}
'';
}
diff --git a/reporting/templates/tag.tmpl b/reporting/templates/tag.tmpl
index dcc3dab..44bcccd 100644
--- a/reporting/templates/tag.tmpl
+++ b/reporting/templates/tag.tmpl
@@ -14,10 +14,10 @@
if ($graphs) {
$OUT .= qq( <p>\n);
$OUT .= qq( Evolution of the $tag Lintian tag over the past\n);
- $OUT .= qq( $graphs_days days: <div class="graph"><img\n);
+ $OUT .= qq( $graphs_days days:</p>\n);
+ $OUT .= qq( <div class="graph"><img\n);
$OUT .= qq( src="../graphs/tags/$tag.svg" alt="History of $tag"\n);
$OUT .= qq( /></div>\n);
- $OUT .= qq( </p>);
}
'';
}
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]