[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug?, ox] smartquotes and lines
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [bug?, ox] smartquotes and lines |
Date: |
Sun, 22 Feb 2015 18:43:51 +0100 |
Hello,
Rasmus <address@hidden> writes:
> Consider this example:
>
> #+OPTIONS: ':t
> "foo"---"bar"
>
> Expected output is (IMO) something like “foo”—“bar”. Actual output is
> something like “foo"—"bar”, i.e. the quotes very close to the em-dash are
> not replaced. Note you can get the desired output by adding spaces around
> the em-dash but that's undesirable in this case.
>
> Is this a feature?
This is a limitation due to the regexps used by smart quotes. You can
always defeat them.
Regards,
--
Nicolas Goaziou