Jump to content

How to include quotes and image html in forum


MDanz

Recommended Posts

unless you already sanitize your forum posts, HTML is already allowed. If you htmlentities the post, then you will probably have to go back through, and un-entity certain tags.

 

you can do the "quote" system a few ways, but the most dynamic way would probably be via javascript. You could use the HTML dom to extract the words of a post, assuming the are enclosed by a div tag or something, and then take that string and put it in the textarea (perhaps wrap the string in BBC quote tags)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.