Different approach to working around html comment issue