[
https://jira.jboss.org/jira/browse/JBSEAM-4304?page=com.atlassian.jira.pl...
]
David Herrera Alonso commented on JBSEAM-4304:
----------------------------------------------
I forgot another example without "space" between end of tag </b> and rest
of text. The new line will be added too in this example:
Some normal text <b>and now bold text</b>AndSomeMoreNormalText
Output will be:
Some normal text and now bold text (the phrase 'and now bold text' with bold
style)
AndSomeMoreNormalText (again on new line, wrong)
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#...
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