emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "T.F. Torrey" <tftorrey@tftorrey.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Smart left single quote broken
Date: Wed, 02 Sep 2015 02:05:38 -0700	[thread overview]
Message-ID: <87fv2xry1p.fsf@jack.tftorrey.com> (raw)

Hello all,

The smart quote code has gotten a little borked, at least in HTML.

This:

#+BEGIN_EXAMPLE
He said, "You should believe me, 'cause it's 'true'."
#+END_EXAMPLE

Exports to this:

#+BEGIN_EXAMPLE
<p>
He said, &ldquo;You should believe me, &rsquo;cause it&rsquo;s
&rsquo;true&rsquo;.&rdquo;
</p>
#+END_EXAMPLE

The quote before "true" should be a left single quote, and it used to be,
like this:

#+BEGIN_EXAMPLE
<p>
He said, &ldquo;You should believe me, &rsquo;cause it&rsquo;s
&lsquo;true&rsquo;.&rdquo;
</p>
#+END_EXAMPLE

I looked at the code, but it has become more convoluted than I can
figure out in the time allotted.  Hopefully the error is obvious to
someone more familiar with it.

Emacs : GNU Emacs 24.5.1 (i586-pc-linux-gnu, GTK+ Version 3.16.4) of
 2015-06-28 on x86-csail-01, modified by Debian Package: Org-mode
 version 8.3.1 (release_8.3.1-190-g258966 @
 /home/tftorrey/T/org-mode/lisp/)

Best,
Terry
-- 
T.F. Torrey

             reply	other threads:[~2015-09-02  9:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  9:05 T.F. Torrey [this message]
2015-09-02 13:38 ` Bug: Smart left single quote broken Nicolas Goaziou
2015-09-02 17:37   ` T.F. Torrey
2015-09-02 19:07 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fv2xry1p.fsf@jack.tftorrey.com \
    --to=tftorrey@tftorrey.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).