What is the end goal? It seems you might end up taking more time trying to
find out if it's HTML escaped then just coding for it on a usage basis.

On Tue, Sep 2, 2008 at 1:28 PM, Gabriel Reis <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Is there any tool to verify if a String is escaped? Something like this:
>
> assertFalse( StringEscapeUtils.isHtmlEscaped("<b>text</b>") );
>
> assertTrue( StringEscapeUtils.isHtmlEscaped("&lt;b&gt;text&lt;/b&gt;") );
>
>
> []s
> Gabriel
>

Reply via email to