diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2008-11-28 16:28:02 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2008-11-28 16:28:02 +1300 |
commit | 9f9112dcd873017b43b2b4fcb022962b559321cd (patch) | |
tree | 51450662b8fcd42e31ba47940ebbde48f5ec7da8 /asciidoc.conf | |
parent | 383df238f55c0b9c8ac38f1a03d813ab766a4319 (diff) | |
download | asciidoc-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.conf | 5 |
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 —).
# 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)= — 
-ifndef::doctype-manpage[]
-(\n|[^-\s\\])--([^-\s]|\n)=\1—\2
-endif::doctype-manpage[]
+(\w)--(\w)=\1—\2
\\--(?!-)=--
# ... Ellipsis (entity reference …)
|