I have no idea how to handle this code within a style attribute. How do I correctly code this markup or properly escape it? I could use a string.format and emit the entire div but that seems like an awkward solution.
(I figured all those slant brackets would pose an issue in this posting so I am including an image.)
Я тоже все время вижу это в моем редакторе, по какой-то причине он не окрашивает атрибуты должным образом иногда в CSS и JS. Однако атрибут, который вы выплевываете, по-прежнему должен работать так, как вы ожидаете.