XML mode doesn't highlight processing instructions #3479
Labels
enhancement
An enhancement or new feature
good first issue
Should be easier for first time contributors
help welcome
Could use help from community
language
highlight.js
does not highlight processing instructions in XML mode (except for the pseudo processing instruction<?xml ...?>
)I am using
highlight.js
11.4.0 and the following HTML code:I include
highlight.js
like this (in the<head>
):I activate
highlight.js
by the following<script>
at the end of the<body>
:The only highlighted parts in the result however are the start and end tags. None of the processing instructions get hightlighted:
For information about XML processing instructions see: https://www.w3.org/TR/REC-xml/#sec-pi
The text was updated successfully, but these errors were encountered: