Skip to content
Newer
Older
100644 114 lines (75 sloc) 3.49 KB
43c0c1a @petdance Slurping in HTML::Lint 2.02
authored
1 Revision history HTML::Lint and Test::HTML::Lint.
2
e0fb46d @petdance update links and license
authored
3 NOTE: All bugs and requests are now being handled through GitHub.
4
5 https://github.com/petdance/html-lint/issues
6
617eef6 @petdance Squashed commit of the following:
authored
7 Please DO NOT send bug reports to http://rt.cpan.org/.
e8caaed @petdance point to new bug tracker
authored
8
617eef6 @petdance Squashed commit of the following:
authored
9 2.22 Mon Apr 6 15:47:11 CDT 2015
10 [CHANGES THAT COULD BREAK YOUR CODE]
11 Previously, html_ok() would not check the entire structure of a web
12 page to check for <html>, <head>, <title> and <body> tags. Now it
13 will. If you want to check fragments of HTML for validity but know
14 that they are not valid HTML documents on their own, use the new
15 html_fragment_ok().
16
17 [ENHANCEMENTS]
18 Added new error, elem-input-alt-missing, that warns of <input
19 type="image"> tags that are missing an alt="" attribute. This helps
20 for accessability to make sure that any images have alternate text
21 for screen readers.
22
23 Added ability to modify HTML::Lint's table of known tags and
24 attributes, so you could do this:
25
26 # Add an attribute that your company uses.
27 HTML::Lint::HTML4::add_attribute( 'body', 'proprietary-attribute' );
28
29 # Add the HTML 5 <canvas> tag.
30 HTML::Lint::HTML4::add_tag( 'canvas' );
31 HTML::Lint::HTML4::add_attribute( 'canvas', $_ ) for qw( height width );
32
33 [FIXES]
34 Test::HTML::Lint::html_ok() would not call the HTML::Lint eof()
35 method, which meant it wouldn't do document-wide tests.
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
36
facab06 @petdance updating to 2.20 for release
authored
37 2.20 Fri Apr 6 00:49:51 CDT 2012
38 [ENHANCEMENTS]
6aa246f @petdance Adding ability to turn off individual errors. Releasing 2.12
authored
39 Sometimes creating HTML::Lint-compliant HTML just isn't possible.
40 Now, you can now turn individual errors on and off in your HTML
41 via comment directives, like so:
42
43 <!-- html-lint elem-img-sizes-missing: off, attr-unknown: off -->
44
45 And if you have a batch of code that's hopeless:
46
47 <!-- html-lint all: off -->
48
9d57d73 @petdance clarified notes. Thanks, Mike
authored
49 Added check for unknown entities, such as "&foo;".
50
51 Added check for unclosed entitities, such as "&amp" without the
52 closing semicolon.
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
53
54 Added a check for a bare ampersand that should be written as &amp;
532715c @petdance updating notes
authored
55
a580a38 @petdance handle self-closed tags
authored
56
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
57 2.10 Tue Dec 6 11:16:16 CST 2011
58 [FIXES]
59 Tags that were self-closed were being ignored. For example, if you had
e0fb46d @petdance update links and license
authored
60
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
61 <img src="blah.jpg" />
a580a38 @petdance handle self-closed tags
authored
62
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
63 then HTML::Lint would ignore the tag. This has been fixed.
a580a38 @petdance handle self-closed tags
authored
64
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
65 [LICENSE]
66 HTML::Lint is now explicitly licensed under Artistic License 2.0,
67 instead of the vague "same terms as Perl itself."
a580a38 @petdance handle self-closed tags
authored
68
b678946 @petdance releaseing 2.06
authored
69
70 2.06 Thu Dec 18 00:07:54 CST 2008
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
71 [FIXES]
72 Added attributes to <frameset>.
e0c3ad8 @petdance added attributes to frameset
authored
73
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
74 <strong> tag didn't allow any attributes. Now it does.
dafc57a @petdance Remove <listing> and fix <strong>
authored
75
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
76 Removed the <listing> tag.
dafc57a @petdance Remove <listing> and fix <strong>
authored
77
78
36c1213 @petdance releasing 2.04
authored
79 2.04 Mon Jun 2 11:41:16 CDT 2008
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
80 [FIXES]
81 <textarea> now knows about the wrap attribute.
3afc989 @petdance getting read for 2.04
authored
82
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
83 [INTERNALS]
84 Lots of enhancements pointed out by Perl::Critic.
b8fbeb6 @petdance making perlcritic happy
authored
85
86
43c0c1a @petdance Slurping in HTML::Lint 2.02
authored
87 2.02 Thu Nov 3 11:49:18 CST 2005
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
88 [ENHANCEMENTS]
89 * The warnings for missing ALT and HEIGHT/WIDTH on your images
90 now give the SRC attribute.
91
43c0c1a @petdance Slurping in HTML::Lint 2.02
authored
92
93 2.00 Tue Sep 20 23:10:39 CDT 2005
1726551 @petdance releasing 2.11_01. Dropped all pre-2.00 history
authored
94 [CHANGES THAT COULD BREAK YOUR CODE]
95 * I've changed the object structure. HTML::Lint now has-a
96 HTML::Parser, and no longer is-a HTML::Parser.
97
98 * weblint-cgi and weblint-original are no longer distributed
99 with HTML::Lint.
100
101 * Now requires Perl 5.6.0.
102
103 [FIXES]
104 * Line numbering is now correct if you parse more than one file.
105
106 * Changed t/*.*.t so that they only had one period in the
107 filename. Apparently VMS doesn't like filenames with multiple
108 dots.
109
110
111 Pre-2.00
112 I've thrown away previous history because really, nobody cares
113 what changed in this module prior to 2005.
Something went wrong with that request. Please try again.