You're much better off storing an internal representation of documents and then outputting that as HTML where necessary.
You're much better off storing an internal representation of documents and then outputting that as HTML where necessary.