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-27396 Fixing inline object embeding #20

Merged
merged 1 commit into from
Jun 19, 2017
Merged

EZP-27396 Fixing inline object embeding #20

merged 1 commit into from
Jun 19, 2017

Conversation

tomaszmadeyski
Copy link
Contributor

This is a fix for https://jira.ez.no/browse/EZP-27396

Description

Embeding inline objects in case it's only element in paragraph produces following xml which is then saved into DB:

<paragraph><embed-inline view="embed-inline" size="medium" object_id="126">ezembed</embed-inline></paragraph>

The ezembed part was not removed by EmbedToHtml5 which resulted in invalid object embeding on further processing.

Fixing this is just clearing text content of XmlNode in case of <embed> and <embed-inline> elements

Copy link
Contributor

@andrerom andrerom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by both me and @bdunogier on separate PR.

@andrerom andrerom merged commit c2c2757 into ezsystems:master Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants