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

[export html] how to: manipulate entities to avoid nesting #162

Open
Lzok opened this issue Dec 7, 2019 · 0 comments
Open

[export html] how to: manipulate entities to avoid nesting #162

Lzok opened this issue Dec 7, 2019 · 0 comments

Comments

@Lzok
Copy link

Lzok commented Dec 7, 2019

Hello all, how are you?

There's something I'm trying to achieve with no luck.
If I have the exact same text both with bold and italic, I want the wrapper span has the two classes instead of two nested spans.

This is a dummy text.
With the previous text, I want the result

This is <span class="-bold -italic>a dummy</span> text.

But instead I'm receiving

This is <span class="-bold><span class="-italic"> a dummy</span></span> text.

Do you have some insight to achieve that? If you need more information please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant