Skip to content
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-29331: Custom Tags added in Legacy Bridge gets rendered inside paragraph in the new stack #89

Merged
merged 2 commits into from
Dec 10, 2018

Conversation

mateuszbieniek
Copy link
Contributor

@mateuszbieniek mateuszbieniek commented Dec 6, 2018

JIRA issue: EZP-29331

When rendering XML block Field inside new stack consecutive Custom Tags will be rendered inside unwanted additional <p> tag. This PR fixes this issue by searching for a paragraph with no text and only <custom> tags inside and deletes it, putting its children in its place.

Todo:

  • Tests

@mateuszbieniek mateuszbieniek changed the title [WIP] EZP-29331: Custom Tags added in Legacy Bridge gets rendered inside paragraph in the new stack EZP-29331: Custom Tags added in Legacy Bridge gets rendered inside paragraph in the new stack Dec 6, 2018
@andrerom andrerom merged commit ae23c0c into ezsystems:1.7 Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants