I just noticed that the prettify language hint for questions tagged css has been changed to lang-default; it was lang-css before. While this allows HTML code blocks to be highlighted as HTML, unfortunately it prevents CSS code blocks from being highlighted as CSS. So now instead of adding the lang-html hint to HTML code blocks, I now have to add lang-css to CSS code blocks!
What's the reason for this change? (Note, only developers and moderators have the ability to change the prettify language for a given tag.)
Also, if I try to change it back to lang-css, I get this prompt:
Setting a language to a value other than default should ONLY be done if the odds of a XML, Javascript, or HTML code block in the same post is very low,are you sure you wish to make this change?
And then I'm reminded of that question I asked not too long ago, linked above, regarding highlighting HTML code blocks in questions with lang-css, and then I cancel and step back on making the change.
Is there something else going on with prettify and HTML/CSS code blocks behind the scenes that I'm not aware of? It'd be great if a developer working on integrating prettify with the site could help me understand this.
<!-- language: lang-css -->
to make the CSS highlighting for this work.lang-css
for the time being. Broken HTML is better than broken CSS. At least, I was used to the broken HTML highlighting.. Although, that might make this bug report more difficult to understand.