[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4304) Seam Text add new line when it finds <b> html tag

David Herrera Alonso (JIRA) jira-events at lists.jboss.org
Thu Jul 23 02:43:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12477272#action_12477272 ] 

David Herrera Alonso commented on JBSEAM-4304:
----------------------------------------------

Any comments about it? :)

I am wrong and this isn't a bug? But in this case, I don't understand why other format tags like <i> or <u> works perfect without insert new line after close tag, and bold format tag <b> or <strong> insert new line after close tag.

> Seam Text add new line when it finds <b> html tag
> -------------------------------------------------
>
>                 Key: JBSEAM-4304
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4304
>             Project: Seam
>          Issue Type: Bug
>          Components: Seam Text
>    Affects Versions: 2.1.0.SP1
>         Environment: Ubuntu Linux kernel 2.6.28-13-generic i686 ; Seam 2.1.0 SP1 ; 
> Web browser Opera 10 beta2, Firefox 3.0.11
>            Reporter: David Herrera Alonso
>
> Setting value for <s:formattedText> Seam Text tag, reading it from database (for example), the output add new line if value has some characters with bold html tag. Let's see it with this input:
> <b>This is text with bold format</b> and this is normal format.
> After <s:formattedText> processed this input, the output is:
> This is text with bold format  //(with bold format, this is ok)
> and this is normal format.  //on a new line and this isn't ok)
> This only happens when there are some bold text using <b> (or <strong> tag too). If instead of <b>, we put <i> or another style html tag, this strange behaviour doesn't appear. Let's see it:
> <i>This is cursive text</i> and this is normal text.
> And output will be:
> This is cursive text (in cursive format) and this is normal text.
> I commented it on various threads:
> http://seamframework.org/Community/BoldSeamTextForcesNewline
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243159#4243159
> https://jira.jboss.org/jira/browse/RF-5777  (someone tells about richfaces rich editor bug, but this behaviour with bold and new line don't have relation with richfaces)

-- 
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