Welcome Guest, Not a member yet? Register   Sign In
How to ringfence or contain user-submitted HTML
#1

[eluser]Daniel H[/eluser]
Hi all

I allow users to use TinyMCE to submit posts to a forum. While this generally works well I am concerned that if users copy and paste HTML from other sites etc. there is potential for their post to break the structure of the forum; for example if somehow they include a unclosed <strong>, <div>, <p> tag etc.

I still want to allow use of all the major tags, but can anyone suggest a way of ensuring that their HTML is essentially contained so that it won't affect the layout of the page the posts appear in?

Thanks.


Messages In This Thread
How to ringfence or contain user-submitted HTML - by El Forum - 12-24-2008, 08:41 AM
How to ringfence or contain user-submitted HTML - by El Forum - 12-24-2008, 10:32 AM
How to ringfence or contain user-submitted HTML - by El Forum - 12-24-2008, 02:44 PM
How to ringfence or contain user-submitted HTML - by El Forum - 12-24-2008, 05:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB