Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Problem with invalid pasted HTML

$
0
0

Hi,

I have an issue with users pasting invalid HTML into the editor (usually from an email client).  The HTML comes in with no closing tags, which then causes issues when we render the saved content onto a web page.

Example

<spanstyle>some text<spanstyle>more text <spanstyle> some more text

Is there any way to either strip the invalid tags out or add the closing tags when the user pastes the data?

Thanks

Gavin.


Viewing all articles
Browse latest Browse all 94857

Trending Articles