From: Keats K. <ke...@xa...> - 2005-05-24 15:09:15
|
This is not a bug, but a documented design decision. A directive must be preceded by whitespace or a newline. This was done to make it less likely that text would get mistaken for a directive. Specifically in your case the parser could could confuse colors like "#FFCC44" with directives. I admit it's not pretty, but I think we can live with it. Keats Marc Palmer wrote: >Guys, forgive me if I am raking over the past because I feel some deja vu >here... but why can't I invoke a macro inline? > ><a href="#springURL("addperm.html")">Add permissions</a> > >This fails, the resulting HTML is, rather oddly: > ><a href="#springURL("addperm.html)>Add permissions</a> > >Putting in a bit of whitespace solves it: > ><a href=" #springURL("addperm.html")">Add permissions</a> > >...which is hella-ugly. Can I submit a unit test for this and can someone >look at the parser, if it's not me being "stupid"? It certainly seems >completely nonsensical to the end-user... > >I would strongly recommend we fix this and put out an RC2. I would say the >Java 5 compatibility issue with JavaCC's generated code is a release >stopper too - but should be easy to fix. > >Cheers > > > > |