Issue 26 in gwtwiki: html output is invalid for some references with template interaction

0 views
Skip to first unread message

gwt...@googlecode.com

unread,
Nov 3, 2009, 2:57:45 PM11/3/09
to bl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 26 by michael.blakeley: html output is invalid for some
references with template interaction
http://code.google.com/p/gwtwiki/issues/detail?id=26

What steps will reproduce the problem?

I'm having trouble creating a test case, but you can see the problem if you
write code to render the wiki markup for the enwiki page "Monarchism"
(http://en.wikipedia.org/wiki/Monarchism). Line 31 of the output is:

<li class="toclevel-1"><a
href="#Monarchist_groups_past_and_presentFor_a_.E2.80.9CDirectory_of_Monarchist_Organizations.2C.E2.80.9D_see_Olga_S._Opfell.2C_Royalty_Who_Waits:_The_21_Heads_of_Formerly_Regnant_Houses_of_Europe_(Jefferson:_McFarland_.26_Company.2C_Inc..2C_Publishers.2C_2001).2C_213-216.">Monarchist
groups past and presentFor a “Directory of Monarchist Organizations,” see
Olga S. Opfell, Royalty Who Waits: The 21 Heads of Formerly Regnant Houses
of Europe (Jefferson: McFarland & Company, Inc., Publishers, 2001),
213-216.</a>

This is part of the "Contents" section, which appears to be rendered as
part of a template.

What is the expected output? What do you see instead?

The body of the 'a' element includes an unencoded ampersand, making the
html invalid. The '&' should be encoded as &amp; or &#38;

What version of the product are you using? On what operating system?

svn 525

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

gwt...@googlecode.com

unread,
Nov 3, 2009, 5:04:16 PM11/3/09
to bl...@googlegroups.com

Comment #1 on issue 26 by michael.blakeley: html output is invalid for some
references with template interaction
http://code.google.com/p/gwtwiki/issues/detail?id=26

I still can't figure out a good test case, but this patch works for
Monarchism and
Harare.

Attachments:
bliki-26.diff 1.4 KB

gwt...@googlecode.com

unread,
Nov 4, 2009, 1:54:33 PM11/4/09
to bl...@googlegroups.com
Updates:
Owner: axelclk

Comment #2 on issue 26 by axelclk: html output is invalid for some

references with template interaction
http://code.google.com/p/gwtwiki/issues/detail?id=26

(No comment was entered for this change.)

gwt...@googlecode.com

unread,
Nov 4, 2009, 2:15:00 PM11/4/09
to bl...@googlegroups.com

Comment #3 on issue 26 by axelclk: html output is invalid for some
references with template interaction
http://code.google.com/p/gwtwiki/issues/detail?id=26

Changed with:
http://code.google.com/p/gwtwiki/source/detail?r=526

Thanks for the patches :-)

gwt...@googlecode.com

unread,
Jan 5, 2010, 2:39:49 PM1/5/10
to bl...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 26 by axelclk: html output is invalid for some

references with template interaction
http://code.google.com/p/gwtwiki/issues/detail?id=26

(No comment was entered for this change.)

--

Reply all
Reply to author
Forward
0 new messages