dev@javaserverfaces.java.net

Question on Escaping Behavior

From: Jacob Hookom <jacob_at_hookom.net>
Date: Sat, 23 Sep 2006 18:53:19 -0500

I'm using the nightly from Sept 23rd with Facelets and have been able to
replicate this user's issue:

https://facelets.dev.java.net/issues/show_bug.cgi?id=164

I can trace Facelets assigning that input as "<strong>...</strong>"
without any escaping or entity codes. But when that String is passed to
HtmlUtils, you get the output that was described in the bug. I've also
tested the same behavior coming from EL values.

The bug includes the lines in HtmlUtils that cause this behavior-- I'm
wondering what the desired workaround is? I've also been trying to
track down in the HTML spec that describes this behavior.

Thanks!!!