emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug in org-export-smart-quotes


From: Nick Dokos
Subject: Re: [O] bug in org-export-smart-quotes
Date: Fri, 27 Mar 2015 15:20:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Jay Dixit <address@hidden> writes:

> Hi everyone,
>
> I've noticed that when I use quotation marks in conjunction with an em dash 
> (—), org-export-smart-quotes gets confused and forgets
> to activate smart quotes for the closing quotation mark.
>
> If my org-mode file contains a sentence like this...
>
> A 
> [[http://spp.sagepub.com/content/early/2015/01/23/1948550614568867.abstract][new
>  study]] published in Psychological and
> Personality Science has found that helping other people---what scientists 
> call being "prosocial"---increases your odds of finding a
> long-term relationship.
>
> ...then it exports to HTML like this:
>
> A new study published in Social Psychological and Personality Science has 
> found that helping other people—what scientists call
> being “prosocial"—increases your odds of finding a long-term relationship.
>
> Note the non-smart closing quotation mark. Does anyone know a fix for this? 
>

The regexps are probably looking for spaces - try

... people --- what scientists call being "prosocial" --- increases


Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]