You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/05 15:47:31 UTC

DO NOT REPLY [Bug 16804] New: - html:text tag has no filter attribute

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16804>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16804

html:text tag has no filter attribute

           Summary: html:text tag has no filter attribute
           Product: Struts
           Version: Unknown
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: david@chelimsky.org


The <bean:write> tag offers a "filter" attribute that allows you to render HTML 
that is stored in data as is ("<b>this</b>" appears as "this" bolded in a 
browser) or escaped ("<b>this</b>" appears as "<b>this</b>" in a browser, 
the "<" characters having been converted to "&lt;"). This would be a very 
useful addition to the <html:text> tag. Use cases being message boards that 
accept HTML, content publishing apps, etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org