[Wikipedia-l] Re: Please use <!--HTML comments--> (Bug)

Karl Eichwalder ke at gnu.franken.de
Sun Mar 2 07:09:49 UTC 2003


Brion Vibber <brion at pobox.com> writes:

> Remove the spaces from the ends, and everything looks fine.

Okay, but here's another problem;
cf. http://www.wikipedia.org/wiki/User%3AKeichwa

Testing comments
================
Input
-----
xxx
<!-- yyy -->
zzz

Output
------
xxx

zzz

Expected Output
---------------
xxx zzz

-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-

The bug is that the parser does not the newline after "-->"; I'd
recommend to read all of [\n\t ]+$ after "-->".  Otherwise it's hard or
impossible to add comments within paragraphs or in between list items.

-- 
ke at suse.de (work) / keichwa at gmx.net (home):              |
http://www.gnu.franken.de/ke/                            |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)



More information about the Wikipedia-l mailing list