You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2005/01/26 05:03:59 UTC

xdoc escaping single quotes

Hi,

I have some links in my xdocs that look like this:

<a href="#" 
onclick="javascript:window.open('http://www.codeczar.com/tomcat/codebar/page/Pages.do');">

when parsed by xdoc, the single quotes are replaced by &apos;

<a href="#" 
onclick="javascript:window.open(&apos;http://www.codeczar.com/tomcat/codebar/page/Pages.do&apos;);">

This is fine in moz/firefox but breaks IE.  any ideas how to prevent 
this from happening?

cheers
Nathan
-- 
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codeczar.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: xdoc escaping single quotes

Posted by Brett Porter <br...@gmail.com>.
wrap the tag in <![CDATA[ ... ]]>


On Wed, 26 Jan 2005 12:03:59 +0800, Nathan Coast <na...@codeczar.com> wrote:
> Hi,
> 
> I have some links in my xdocs that look like this:
> 
> <a href="#"
> onclick="javascript:window.open('http://www.codeczar.com/tomcat/codebar/page/Pages.do');">
> 
> when parsed by xdoc, the single quotes are replaced by &apos;
> 
> <a href="#"
> onclick="javascript:window.open(&apos;http://www.codeczar.com/tomcat/codebar/page/Pages.do&apos;);">
> 
> This is fine in moz/firefox but breaks IE.  any ideas how to prevent
> this from happening?
> 
> cheers
> Nathan
> --
> Nathan Coast
> Managing Director
> Codeczar Ltd
> mob : (852) 9049 5581
> tel : (852) 2834 8733
> fax : (852) 2834 8755
> web : http://www.codeczar.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org