How to close unclosed HTMl Tags?

Posted by Starx on Stack Overflow See other posts from Stack Overflow or by Starx
Published on 2010-06-17T06:35:01Z Indexed on 2010/06/17 6:43 UTC
Read the original article Hit count: 432

Filed under:
|
|

Whenever we are fetching some user inputed content with some editing from the database or similar sources, we might retrieve the portion which only contains the opening tag but no closing.

This can hamper the website's current layout.

Is there a clientside or server way of fixing this?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript