Add BEGIN/END CONTENT tags to html output