convert html tags to entities in indented code blocks