emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug in org-export-smart-quotes
@ 2015-03-27 18:45 Jay Dixit
  2015-03-27 19:20 ` Nick Dokos
  2015-03-27 20:23 ` Jay Dixit
  0 siblings, 2 replies; 5+ messages in thread
From: Jay Dixit @ 2015-03-27 18:45 UTC (permalink / raw)
  To: org-mode org

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

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
<http://spp.sagepub.com/content/early/2015/01/23/1948550614568867.abstract>
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?

Thanks!

Jay

---
Jay Dixit
jaydixit.com
(646) 355-8001
Jay Dixit

[-- Attachment #2: Type: text/html, Size: 3608 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-28 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-27 18:45 bug in org-export-smart-quotes Jay Dixit
2015-03-27 19:20 ` Nick Dokos
2015-03-27 20:23 ` Jay Dixit
2015-03-27 23:35   ` Nick Dokos
2015-03-28 15:03   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).