OSDN Git Service

Initial commit
[wordring-tm/wordring-tm.git] / third_party / tidy-html5-master / test / input / in_431889.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2
3 <!--
4                           bug-2000-12-27-b.html
5
6 Problem:
7   The "alt-text:" and "doctype: <fpi>" options do not work when specified
8   in a config file with a quoted string parameter.
9
10 Expected behavior:
11   The strings specified as parameters to these options should be processed
12   correctly.  Instead, they are ignored.
13
14 Verification:
15   tidy -config config.ini bug-2000-12-27-b.html
16     
17   With a configuration file "config.ini" containing either of these lines:
18
19       doctype: "-//ACME//DTD HTML 3.14159//EN"
20       alt-text: "Alternate"
21
22 Correction:
23   config.c (ParseString)
24   lexer.c (FixDocType)
25 -->
26
27 <html>
28
29 <head>
30 <title>Bug-2000-12-27-B [ #431889 ] Config file options w/"param" don't work</title>
31 </head>
32
33 <body>
34
35 <p><img src="a">This image has no ALT attribute.</p>
36
37 </body>
38 </html>