[Jamwiki-commit] SF.net SVN: jamwiki:[3412] wiki/trunk/jamwiki-core/src/main/java/org/ jamwiki/pars
Brought to you by:
wrh2
From: <wr...@us...> - 2011-01-08 01:55:56
|
Revision: 3412 http://jamwiki.svn.sourceforge.net/jamwiki/?rev=3412&view=rev Author: wrh2 Date: 2011-01-08 01:55:50 +0000 (Sat, 08 Jan 2011) Log Message: ----------- Parser: * Refactor handling for includeonly, onlyinclude and noinclude. Instead of parsing these tags simultaneously with the rest of the template content add a separate parser pass to process just these tags. This fixes some issues where onlyinclude could cause infinite loops for content such as "<onlyinclude>content</onlyinclude> Example: {{template}}". Modified Paths: -------------- wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/IncludeOnlyTag.java wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/JFlexParser.java wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/OnlyIncludeTag.java wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/TemplateTag.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |