sokris95 / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

don't parse invalid template names as templates #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. parse a template with e.g. double newline characters in the middle of the 
name, e.g. caused by a missing "|" (see attached test case)

What is the expected output? What do you see instead?
the template should not be seen as such

Please use labels and text to provide additional information.

Original issue reported on code.google.com by nico.kru...@googlemail.com on 8 Nov 2012 at 1:31

Attachments:

GoogleCodeExporter commented 9 years ago
correction: "e.g. single newline characters in the middle..." (of course double 
newlines are invalid, too, but not covered by the proposed patches

Original comment by nico.kru...@googlemail.com on 8 Nov 2012 at 1:41

GoogleCodeExporter commented 9 years ago
Committed r8062 and r8063.
Don't know if I catched every case of an invlid template name?

Original comment by axelclk@gmail.com on 8 Nov 2012 at 6:09