开发者

Every velocity tool escape function working except url()?

I can get $esc.html to work, but not $esc.url, it just comes up literal even though I follow example at: http://velocity.apache.org/tools/devel/generic/EscapeTool.html Interestingly enough, on that page the url() section's h开发者_开发知识库ead is "$attrib.name" instead of url().

Any ideas?

Thanks.


Worked for me in Tools 2.0. Maybe you have old version?

$esc.url("bread & butter") = bread+%26+butter
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜