Commit d802d64
committed
Prevent snippets editor from stripping REML p tags
If a single paragraph was entered in the snippet's editor's REML editor
in form <p>content here</p>, with no inline tags the <p> tags would be
stripped. This is undesirable because text outside of <p> tags may be
rendered differently to text in <p> tags, so stripping the tags could
change the rendering.
This behaviour is changed by this commit and <p> tags are now preserved.1 parent 8651929 commit d802d64
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
| 516 | + | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
| 902 | + | |
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| |||
0 commit comments