issue "shiny" exception template may generate invalid markup if HTML is at first line of code snippet fixed, plus a situation where coloring might be invalid in combination with HTML, closes #462