I've noticed with the rich text editor on custom product fields (and likely elsewhere) that pressing the enter key results in div tags.
For example, if I type "test", click the enter key, then type "test2" I end up with:
But, if I run this through the miva_html_strip function with an empty string for allowed tabs, I get the two words run together as "testtest2" instead of "test test2".
Any suggestions? This is specifically related to the rich text editor, so please don't say "put a space after each word before you press the enter key" :)
Thanks,
Susan
For example, if I type "test", click the enter key, then type "test2" I end up with:
Code:
test<div>test2</div>
Any suggestions? This is specifically related to the rich text editor, so please don't say "put a space after each word before you press the enter key" :)
Thanks,
Susan
Comment