From 8a04f21e90e1393ac22a563f762a8219c8dd94c9 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 27 Jun 2023 01:59:07 +0800 Subject: [PATCH] ox-html: Fix C++ label CSS * lisp/ox-html.el (org-html-style-default): The "C++" pre-label works if the "+" characters are backslash-escaped. --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index e835320b4..12e9e6a35 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -323,7 +323,7 @@ This affects IDs that are determined from the ID property.") pre.src-awk:before { content: 'Awk'; } pre.src-authinfo::before { content: 'Authinfo'; } pre.src-C:before { content: 'C'; } - /* pre.src-C++ doesn't work in CSS */ + pre.src-C\\+\\+:before { content: 'C++'; } pre.src-clojure:before { content: 'Clojure'; } pre.src-css:before { content: 'CSS'; } pre.src-D:before { content: 'D'; }