wf49670 / ppgen

Post-processing generator for DP
6 stars 4 forks source link

Language markup in "alt" text #18

Closed Pronovost closed 10 years ago

Pronovost commented 10 years ago

In a ".il" line, if alt='some text' contains language markup, ppgen produces the expected html and txt files. But the W3C Markup Validation Service calls an error. Transcript:

Line 202, Column 54: character "<" is the first character of a delimiter but occurred as data…s/frontis_a.jpg' alt='Tail-piece from “Contes et… ✉

This message may appear in several cases: •You tried to include the "<" character in your page: you should escape it as "<" •You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe. •Another possibility is that you forgot to close quotes in a previous tag.

Line 202, Column 113: character "<" is the first character of a delimiter but occurred as data…ang="fr">“Contes et nouvelles en vers” by La Fontaine, 1762.' class='ig… ✉

This message may appear in several cases: •You tried to include the "<" character in your page: you should escape it as "<" •You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe. •Another possibility is that you forgot to close quotes in a previous tag.

Line 202, Column 53: Unescaped '<' not allowed in attributes values …es/frontis_a.jpg' alt='Tail-piece from “Contes e… ✉

Line 202, Column 53: attributes construct error …es/frontis_a.jpg' alt='Tail-piece from “Contes e… ✉

Line 202, Column 53: Couldn't find end of Start Tag img line 202 …es/frontis_a.jpg' alt='Tail-piece from “Contes e…

ghost commented 10 years ago

Can I see the source line for the ".il" illustration. Thanks.

ghost commented 10 years ago

fixed in 3.33