summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/util/rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py
index a406e0044..f39549276 100644
--- a/sphinx/util/rst.py
+++ b/sphinx/util/rst.py
@@ -23,7 +23,7 @@ if False:
# For type annotation
from typing import Generator # NOQA
-symbols_re = re.compile(r'([!--/:-@\[-`{-~])') # symbols without dot(0x2e)
+symbols_re = re.compile(r'([!-\-/:-@\[-`{-~])') # symbols without dot(0x2e)
logger = logging.getLogger(__name__)