Add a way to get highlight.js version (#1912)

The original regexp was already suboptimal, but apparently, this is how
everyone uses this javascript library. This can be tested
[here](https://forum.openmw.org/)
main
jvoisin 7 years ago committed by Elbert Alias
parent b8cfe22027
commit 19457715b7

@ -3632,7 +3632,7 @@
"19" "19"
], ],
"icon": "Highlight.js.png", "icon": "Highlight.js.png",
"script": "/highlight\\.js/[\\d.]+?/highlight\\.min\\.js", "script": "/highlight\\.js/([\\d.]+)/highlight\\.min\\.js\\;version:\\1",
"website": "https://highlightjs.org/" "website": "https://highlightjs.org/"
}, },
"Highstock": { "Highstock": {