Skip to content

Don't trim paragraph tags on multiple paragraphs

Amanda Graven requested to merge agraven/fractal:p-tag-trim-fix into master

Fixes #803 (closed). Fixes #392 (closed).

Add a condition so the trim doesn't happen if there's there's an additional <p> tag anywhere between the start and end tag. I also took the liberty of slightly refactoring how the mtype is constructed to make it slightly cleaner.

Edited by Amanda Graven

Merge request reports