Is it just me, or has the language detection from tags for syntax highlighting been broken lately? I seem to have noticed a couple of times that scripts containing /*
were highlighted as if it that started a comment, like in C, even though the questions had proper-looking shell-related tags.
For example, this answer to a question tagged both bash and shell-script looks like this to me:
Adding <!-- language: bash -->
or <!-- language: shell -->
manually fixes it, but that doesn't scale too well..
sh
tag is correctly set to highlight with "lang-sh". Maybe it's the lang-sh that's broken. I will try changing the default forsh
tolang-bash
and see if that helps./*
as comment for “shell script” (just noticed that from the Related questions list)