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

convertFromHTML adds <br/> to blockquotes #215

Open
crispiestsquid opened this issue Nov 2, 2022 · 1 comment
Open

convertFromHTML adds <br/> to blockquotes #215

crispiestsquid opened this issue Nov 2, 2022 · 1 comment

Comments

@crispiestsquid
Copy link

crispiestsquid commented Nov 2, 2022

I cannot for the life of me figure out how to stop the converter from adding <br/>s to my blockquotes...

For example:<blockquote><p>Something quoted.</p></blockquote>

becomes: <blockquote><p>Something quoted.<br/></p></blockquote>

The worst part is that if I save my content and then run it back through again, it compiles and gets worse. I have tried to modify this behavior in the htmlToBlock config, but with no luck... It is odd that it puts it inside the <p> tag and not after it inside the <blockquote>. But none of my other paragraphs have this behavior.

I have looked everywhere hoping to find an answer to this. Maybe I am just missing something, or could this be the intended behavior?

Thanks,
Kevin

@Akash9575
Copy link

@crispiestsquid
Did you get the solution?

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

2 participants