Hello, all.

Has anyone else has strange occurences where autoencoding-urls breaks their
HTML?

I have one instance where adding a space makes it work.. without it results in
a badly broken anchor tag.

Example:
========
This doesn't work :
<A HREF="file.jsp"><%="SOME_TEXT"%></A>
OUTPUTS: <A href="file.jspSOME_TEXT"></A>

This works :
<A HREF="file.jsp"> <%="SOME_TEXT"%></A>
OUTPUTS: <A href="file.jsp"> SOME_TEXT</A>

The difference is the space after the '>' of the A tag.

I turn autoencode-urls off (both absolute and relative) and the problem
disappears.

It seems it has to do with when you have scriptlet or an expression directly
following the closing bracket of an anchor tag...

A problem with the auto-encoding code? Can anyone else verify this?

I'm using Orion 1.3.8 under Win2k with JDK1.2.2 if it helps.

Thanks,
Dylan Parker



Reply via email to