From f5e06454216644cf20d7c9275d42e37707281a8e Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Wed, 18 Nov 2020 14:42:56 -0500 Subject: [PATCH] typos and tweaks --- README.md | 2 +- deprecated.js | 19 +++++++++---------- src/highlight.js | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c51faf6b1f..7329dac1b3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ### :warning: :warning: Important: Version 9 is no longer supported. :warning: :warning: Version 9 has reached end-of-support and will receive no future updates. -It may include security vulnerabiites. Please upgrade to version 10. +It may include unpatched security vulnerabiites. Please upgrade to version 10. Please see [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) and perhaps [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md). diff --git a/deprecated.js b/deprecated.js index 18b11cc369..2f85d059a6 100644 --- a/deprecated.js +++ b/deprecated.js @@ -10,17 +10,16 @@ DEPRECATION = ` ${BgRed + FgWhite} -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ${Reset}${Bright}${FgWhite} - Verion 9 of Highlight.js has reached EOL. It will no longer - be supported or receive security updates in the future. - Please upgrade to version 10. + Verion 9 of Highlight.js has reached EOL. It will no longer + be supported or receive security updates in the future. + Please upgrade to version 10. - For more info: - ${FgBlue} - https://github.com/highlightjs/highlight.js/issues/2877 - https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md + For more info: + ${FgBlue} + https://github.com/highlightjs/highlight.js/issues/2877 + https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md ${BgRed + FgWhite} - -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -${Reset} -`.trim() +-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*${Reset} +.`.trim() console.log(DEPRECATION) diff --git a/src/highlight.js b/src/highlight.js index 94c2e6ad10..207faa3bcc 100644 --- a/src/highlight.js +++ b/src/highlight.js @@ -30,7 +30,7 @@ https://highlightjs.org/ }(function(hljs) { var warn = console.warn || console.log; - warn("Verion 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10."); + warn("Version 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10."); // Convenience variables for build-in objects