summaryrefslogtreecommitdiff
path: root/asciidoc.conf
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2008-11-28 16:28:02 +1300
committerStuart Rackham <srackham@methods.co.nz>2008-11-28 16:28:02 +1300
commit9f9112dcd873017b43b2b4fcb022962b559321cd (patch)
tree51450662b8fcd42e31ba47940ebbde48f5ec7da8 /asciidoc.conf
parent383df238f55c0b9c8ac38f1a03d813ab766a4319 (diff)
downloadasciidoc-9f9112dcd873017b43b2b4fcb022962b559321cd.tar.gz
Tighted up on em-dash substitution so don't have to escape double-dash command options.
Diffstat (limited to 'asciidoc.conf')
-rw-r--r--asciidoc.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/asciidoc.conf b/asciidoc.conf
index 218ed5b..192397b 100644
--- a/asciidoc.conf
+++ b/asciidoc.conf
@@ -108,11 +108,8 @@ monospacedwords=
# -- Spaced and unspaced em dashes (entity reference &mdash;).
# Spaces on both sides are translated to thin space characters.
-# But allow double-dash option name prefixes in man pages as they are pervasive.
(\n-- )|( -- )|( --\n)=&#8201;&#8212;&#8201;
-ifndef::doctype-manpage[]
-(\n|[^-\s\\])--([^-\s]|\n)=\1&#8212;\2
-endif::doctype-manpage[]
+(\w)--(\w)=\1&#8212;\2
\\--(?!-)=--
# ... Ellipsis (entity reference &hellip;)