FIX: pins down highlight.js to the last commit of the v9 tree (#9921)

FIX: pins down highlight.js to the last commit of the v9 tree (#9921)

The 10+ version has actually a bug with bash. We will wait a little bit before upgrading to 10, we should also make sure any of the breaking changes listed here https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_BREAKING_CHANGES.md are not impacting us.

diff --git a/package.json b/package.json
index 29a464c..2df8b47 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
     "eslint-plugin-lodash": "^6.0.0",
     "favcount": "https://github.com/chrishunt/favcount",
     "handlebars": "^4.7.0",
-    "highlight.js": "https://github.com/highlightjs/highlight.js",
+    "highlight.js": "https://github.com/highlightjs/highlight.js#d72f0817aaab8187711fca7c608f5272ea5147f6",
     "htmlparser": "https://github.com/tautologistics/node-htmlparser",
     "intersection-observer": "^0.5.1",
     "jquery": "3.5.0",
diff --git a/vendor/assets/javascripts/highlightjs/highlight.min.js b/vendor/assets/javascripts/highlightjs/highlight.min.js
index a7fd82e..bc0f11c 100644
--- a/vendor/assets/javascripts/highlightjs/highlight.min.js
+++ b/vendor/assets/javascripts/highlightjs/highlight.min.js
@@ -1,2 +1,2 @@
-/*! highlight.js v9.13.1 | BSD3 License | git.io/hljslicense */

[... diff too long, it was truncated ...]

GitHub sha: f3dee586

1 Like

This commit appears in #9921 which was merged by jjaffeux.