From 1b204bd2e181b873bfa7d8bace46033c67e0da01 Mon Sep 17 00:00:00 2001 From: David Auer Date: Wed, 27 Jan 2021 15:12:09 +0100 Subject: [PATCH] Remove apostrophe highlighting (#3) Highlighting on apostrophes seems to cause more problems than it solves, and it seems unlikely that it will be missed, as it's much more common to use quotes for strings rather than apostrophes. Fixes: https://pagure.io/pagure/issue/5103 --- rpm-specfile.js | 1 - 1 file changed, 1 deletion(-) diff --git a/rpm-specfile.js b/rpm-specfile.js index 2062157..6d5e5e6 100644 --- a/rpm-specfile.js +++ b/rpm-specfile.js @@ -25,7 +25,6 @@ function hljsDefineRpmSpecfile(hljs) { contains: [ hljs.COMMENT('%dnl'), hljs.HASH_COMMENT_MODE, - hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { className: "type",