diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-01 13:48:28 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-01 13:48:28 -0800 |
commit | da8425598a8ab4a98388e8ee346a2ae7ec540aa0 (patch) | |
tree | 20078094309f4fc57ea67e5b2d17163f86078ec1 /tests/testsuite.txt | |
parent | 3cf60c73061f247b531da4b3c18664c6134bee53 (diff) | |
download | pandoc-da8425598a8ab4a98388e8ee346a2ae7ec540aa0.tar.gz |
New treatment of dashes in --smart mode.
* `---` is always em-dash, `--` is always en-dash.
* pandoc no longer tries to guess when `-` should be en-dash.
* A new option, `--old-dashes`, is provided for legacy documents.
Rationale: The rules for en-dash are too complex and
language-dependent for a guesser to work reliably. This
change gives users greater control. The alternative of
using unicode isn't very good, since unicode em- and en-
dashes are barely distinguishable in a monospace font.
Diffstat (limited to 'tests/testsuite.txt')
-rw-r--r-- | tests/testsuite.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsuite.txt b/tests/testsuite.txt index ccee0764a..3bb5d8cb5 100644 --- a/tests/testsuite.txt +++ b/tests/testsuite.txt @@ -492,9 +492,9 @@ So is 'pine.' Here is some quoted '`code`' and a "[quoted link][1]". -Some dashes: one---two --- three--four -- five. +Some dashes: one---two --- three---four --- five. -Dashes between numbers: 5-7, 255-66, 1987-1999. +Dashes between numbers: 5--7, 255--66, 1987--1999. Ellipses...and...and.... |