Just call the setXHTML(boolean) method to change this behavior.  or if
you are configuring this in a tools.xml (Tools 2)  or toolbox.xml
(Tools 1), then you can set an "xhtml" property for the tool to true.

On Tue, Jan 6, 2009 at 9:44 PM, Manish <prol...@gmx.net> wrote:
> This is a question about Velocity's LinkTool
> http://velocity.apache.org/tools/devel/view/LinkTool.html
>
> The addQueryData() method of this tool creates parameters with an ampersand
> - &;
> but xHTML specifies that correct way to write an ampersand in a xhtml is to
> use
> the ampersand character reference "&amp;"  -- so that would make
> &param=value as
> &amp;param=value. Is there any xHTML compatible method available in newer
> versions of LinkTool?
>
> rgds,
> - Manish
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
> For additional commands, e-mail: user-h...@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...@velocity.apache.org

Reply via email to