maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Tesser <jasontes...@gmail.com>
Subject Re: Velocity escaping; I can't escape
Date Mon, 14 Apr 2014 12:16:05 GMT
Also there is an Escape Viewtool

So $esc.d  will work http://dotcms.com/docs/latest/EscapeTool


On Mon, Apr 14, 2014 at 7:56 AM, Thomas Broyer <t.broyer@gmail.com> wrote:

> Assuming I understand the issue correctly:
>
> #set( $dollar = '$' )
>
> then ${dollar}{bt.root.directory:../../../../..}
>
>
> On Mon, Apr 14, 2014 at 1:46 PM, Benson Margulies <bimargulies@gmail.com
> >wrote:
>
> > If a markdown file in my site contains
> >
> >  <lib
> >
> path="${bt.root.directory:../../../../..}/lib/rbl-je-lucene-solr-43-2.2.104.jar"/>
> >
> > velocity explodes.
> >
> > If I add a \ after the $, it does not explode, but the \ remains in
> > the generated HTML.
> >
> > How do I get out of this?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Thomas Broyer
> /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/> <
> http://xn--nna.ma.xn--bwa-xxb.je/>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message