From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Dixit Subject: bug in org-export-smart-quotes Date: Fri, 27 Mar 2015 14:45:31 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c17d7044ca6a0512498b65 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbZGe-0006ob-T2 for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 14:46:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbZGd-0006af-OZ for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 14:46:04 -0400 Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:34853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbZGd-0006YP-GE for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 14:46:03 -0400 Received: by oiag65 with SMTP id g65so83518012oia.2 for ; Fri, 27 Mar 2015 11:46:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode org --001a11c17d7044ca6a0512498b65 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi everyone, I've noticed that when I use quotation marks in conjunction with an em dash (=E2=80=94), 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=E2=80=94what scientists call being =E2=80=9Cprosocial"=E2=80= =94increases your odds of finding a long-term relationship. Note the non-smart closing quotation mark. Does anyone know a fix for this? Thanks! Jay --- Jay Dixit jaydixit.com (646) 355-8001 Jay Dixit --001a11c17d7044ca6a0512498b65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everyone,

I've noticed that wh= en I use quotation marks in conjunction with an em dash (=E2=80=94),=C2=A0<= /span>org-export-smart-quotes ge= ts 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.a= bstract][new study]] published in=C2=A0= 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:<= /div>

=
A=C2=A0new = study=C2=A0= published in Social Psychological and Personality Science has found that he= lping other people=E2=80=94what scientists call being =E2=80=9Cprosocial&qu= ot;=E2=80=94increases your odds of finding a long-term relationship.=

<= /div>
Note the n= on-smart closing quotation mark. Does anyone know a fix for this?=C2=A0

Thanks!

Jay

---
Jay Dixit=C2=A0
(646) 355-8001
Jay Dixit=

--001a11c17d7044ca6a0512498b65--