-
Bug
-
Resolution: Done
-
Minor
-
2.0.0.Beta1
-
None
-
False
-
None
-
False
Bug report
The AsciiDoc source contains:
[source,options="nowrap",shell]
----
topic.creation.enable = true
----
This tries to make the source block below highlighted as the "shell" language.
AsciiDoc supports both named and positional attributes, and "shell" is a positional attribute as it doesn't have the prefix "language=".
The language positional attribute would need to be at the second position there the options are located.
Due to this, there is no syntax highlighting, and the value is instead used for the positional "linenum" attribute that is located in the third place.
To resolve this, the two options need to be switched (like it is in all other places).
I'll prepare a PR for this.