-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-29876: New break lines disappear in Richtext while styled with custom styles #34
Conversation
…stom styles (unit tests)
@@ -657,6 +657,12 @@ | |||
<xsl:apply-templates select="node()|@*"/> | |||
</xsl:template> | |||
|
|||
<xsl:template match="docbook:eztemplate[@type='style']/docbook:ezcontent/text()"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@type
is deprecated, we shouldn't rely on this. If the problem exists it probably applies both to Styles and Tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the problem exists it probably applies both to Styles and Tags.
Actually, the problem applies only to Custom Styles. The content of the Custom Tags is one or more block elements (paragraphs, ordered lists, etc) and the line breaks are transformed during processing of those block elements. Nevertheless, fixed in f7b6b1c 😉
…with custom styles
@alongosz could you make a final review, we should proceed with QA for 2.5.1 |
Could you merge it up? |
Done. |
1.0
Note for QA: This bugfix depends on #32
TODO:
$ composer fix-cs
).