public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: E-mail obfuscation on names with apostrophes
Date: Mon, 6 Jul 2015 13:28:22 -0700	[thread overview]
Message-ID: <20150706202822.GA1684@protagoras.berkeley.edu> (raw)
In-Reply-To: <6e3a605b-2440-4ee1-818d-814ebbd30129-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

I'd call that a bug.  Can you submit a report on the
tracker?

+++ John Muccigrosso [Jul 06 15 11:53 ]:
>   I've got an email address that looks something like this in markdown:
>   [Jim O'Hara](mailto:jim-1gzo9gducWfYtjvyW6yDsg@public.gmane.org)
>   If I leave the default javascript obfuscation method on, it will create
>   a malformed bit of script, where that single quote will screw things up
>   because it isn't escaped:
>   <p><script type="text/javascript">
>   <!--
>   h='&#x6f;&#104;&#x61;&#114;&#x61;&#46;&#x6f;&#114;&#x67;';a='&#64;';n='
>   &#106;&#x69;&#x6d;';e=n+a+h;
>   document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'" clas'+'s="em' +
>   'ail">'+'Jim O'Hara'+'<\/'+'a'+'>');
>   // -->
>   </script><noscript>&#74;&#x69;&#x6d;&#32;&#x4f;&#x27;&#72;&#x61;&#114;&
>   #x61;&#32;&#40;&#106;&#x69;&#x6d;&#32;&#x61;&#116;&#32;&#x6f;&#104;&#x6
>   1;&#114;&#x61;&#32;&#100;&#x6f;&#116;&#32;&#x6f;&#114;&#x67;&#x29;</nos
>   cript></p>
>   I can work around it easily enough by specifying either none or
>   references for the obfuscation method. I tried escaping with a
>   preceding backslash, and using a curly apostrophe and &rsquot; The last
>   gets me a
>   O’Hara
>   in the output. Finally I tried using a double backslash and that
>   worked.
>   So is this a bug or just something that needs to be documented? (Or am
>   I missing something obvious.)
>   TIA.
>
>   --
>   You received this message because you are subscribed to the Google
>   Groups "pandoc-discuss" group.
>   To unsubscribe from this group and stop receiving emails from it, send
>   an email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/6e3a605b-2440-4ee1-
>   818d-814ebbd30129%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/6e3a605b-2440-4ee1-818d-814ebbd30129-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20150706202822.GA1684%40protagoras.berkeley.edu.
For more options, visit https://groups.google.com/d/optout.


      parent reply	other threads:[~2015-07-06 20:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 18:53 John Muccigrosso
     [not found] ` <6e3a605b-2440-4ee1-818d-814ebbd30129-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-06 20:28   ` John MacFarlane [this message]

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

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

  git send-email \
    --in-reply-to=20150706202822.GA1684@protagoras.berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.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.
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 NNTP newsgroup(s).