[ticket/12571]HTML markup cleaning

div id="post_content{postrow.POST_ID} is added to only when necessary.