[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3243) <s:formattedText> doesn't support alt and align attribute for html img tag,

Siarhei Dudzin (JIRA) jira-events at lists.jboss.org
Thu Aug 7 18:31:49 EDT 2008


<s:formattedText> doesn't support alt and align attribute for html img tag, 
----------------------------------------------------------------------------

                 Key: JBSEAM-3243
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3243
             Project: Seam
          Issue Type: Bug
          Components: Seam Text
    Affects Versions: 2.0.0.GA
            Reporter: Siarhei Dudzin


<s:formattedText> doesn't support alt and align attribute for html img tag, 
Whan an img tag with align or alt attributes are met 'sysouts' the "Seam Text parse error: unexpected token" message, besides it cuts all the text that comes after it, i.e. nothing is rendered after that.

For example if we have the following text to be rendered: This is <img src="img.gif" alt="alt text" /> text after image!

The following will be actually rendered: This is <img src="img.gif" 

I would expect s:formattedText either (worst case) skip the attributes it doesn't support of actually support them.

I am not sure the problem existed in Seam 1.2.1 btw, I migrated an application and then noticed the behavior...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list