11 Jan
2010
11 Jan
'10
7:38 p.m.
Hello, I'm looking at the grammar file for XWiki 2.0 syntax in wikimodel and noticed that syntax on the following form is explicitly allowed: [[link containing [[image:image references]] in the text]] From the javacc-file: | <#REFERENCE_IMAGE: "[[image:" ("~" ~[] | ~["]"] | "]" ~["]"] )* "]]" > | <#REFERENCE: ( "[[" ( <REFERENCE_IMAGE> | "~" ~[] | ~["]"] | "]" ~["]"] )* "]]" ) > ^^^^^^^^^^^^^^^ Why is this here? I'm guessing that this is a mistake, or am I missing something? Best regards, /Andreas Jonsson