From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19459 Path: news.gmane.org!.POSTED!not-for-mail From: John Muccigrosso Newsgroups: gmane.text.pandoc Subject: backslash-escaped leading space in markdown table treated as a literal backslash Date: Mon, 5 Feb 2018 12:32:53 -0800 (PST) Message-ID: <1f5e2447-795b-45d4-991b-ed5a55ea706c@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4702_920085282.1517862773857" X-Trace: blaine.gmane.org 1517862657 20943 195.159.176.226 (5 Feb 2018 20:30:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2018 20:30:57 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX7HCFDXYLRB5X64LJQKGQEHMHBQDY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Feb 05 21:30:53 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f57.google.com ([209.85.218.57]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1einPe-0004we-2U for gtp-pandoc-discuss@m.gmane.org; Mon, 05 Feb 2018 21:30:50 +0100 Original-Received: by mail-oi0-f57.google.com with SMTP id f135sf1075215oih.19 for ; Mon, 05 Feb 2018 12:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=R5DdxH4OXzhAq3611VEcSqOY1Z6D1HmyBvdIqgo0+Hk=; b=Ink8r3hV2yoHRLTsDrX9i0EFo5FaDSFg9h792n0gEH3bOqtjNq5POfXS4uuNHYPMmq 3ZmJ1W31IqSVscYbhiO54xPUFM0xKr2LYJGtRUndoUHlaKa2Po8fqNBQXIJgnCfcrSE8 eO2EP7Tisp6JkO4XZzVnk11Q1/ylqlKEVnVRys7WXoNtEdHRey5ufx/l4LEiNOWpvbIu jpcExbJNDyxNjjBdRXQ4STZ8uE1JtX3nEeZRzCMFa5JJgA69pAz3JG7k9d+rHXFy4/kc iUuNVP/TK+yE1SB1tllT6vBW7xIkwrqJAr64e4uug+RvDfTydaN863ETMqOjjxgR0UQU T+mA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=R5DdxH4OXzhAq3611VEcSqOY1Z6D1HmyBvdIqgo0+Hk=; b=G8zcfrOrdMMMY3T2S4N8MumIN6iu4q5/loHNv+h+tgQcFphIObF/DWUo2h2JwV9wzz BNWDNV98Pa48QvSrIcMtpwfuN5C2hdsrZolyt4/Akfgy1IuxrRZCsO0HzTn5AL6eI2Eg eofBhiBXJNz8FMFZqmfUiLRZXeC1CV3BAc+4Vh2UVRbjJV+UwlRGkHViY2uB2OJdnB0O LkHQZfWLBte/Q4n6oHOz3ctIpOZYNUIS2HO6RMUeslNpdtALfefgauRUZOoOoQ8JhH81 PtY7emPt3PV/F00rfhOBG1DhfCqCncDnWSKyo17WqzHMPgnJNEyADuE3NwBWYn4kCbwQ 9E5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=R5DdxH4OXzhAq3611VEcSqOY1Z6D1HmyBvdIqgo0+Hk=; b=gp/j2vyMXQA70KzFnPLALx8Y1FL1vk1DGLoKBo3PXUzK5Lc1VASsiLfinQt2w/gpC+ yLXH8UnItO5IRp9jsnNa9TmqlhqGG8QgQTn4bKUgtNik1QcUd4JgZe2X3J29x3D9ITj0 IDqhS/Bp8Rz177hOji90a439GDUHk67HdcTKe/j/ZkV2Zots87jvtxfHf3sZ9gJUdCpL gQY2obZ7Bi1m5d8elM91sucxMu3+hMavYrGjCBv8ewBcCmJJfJe2b7RrfMbXPsPHwjDi Ith7lLuKMFL6Xmlf3QwMbHweQPLFRn34qdquzW5u91xvY0I3wIlbNIdy+974k4TRfc// 8Nrw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APf1xPDaSK7y64KknI7KBL7XojlPiyjVZzJtYOFm/AUBuAca0Fz9Aa/V hKbU91Z9o2L9gEMi9/u7e3g= X-Google-Smtp-Source: AH8x226rMCqsjBcczzdTyrFku1eApzyt/xt3cKN8tBmjSm/u6RrWbIrW4kY4pLY6omTByOSypc9O8Q== X-Received: by 10.157.3.6 with SMTP id 6mr2461otv.3.1517862775407; Mon, 05 Feb 2018 12:32:55 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.14.204 with SMTP id 70ls4904544otj.20.gmail; Mon, 05 Feb 2018 12:32:54 -0800 (PST) X-Received: by 10.157.38.67 with SMTP id a61mr2236otb.7.1517862774325; Mon, 05 Feb 2018 12:32:54 -0800 (PST) X-Original-Sender: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19459 Archived-At: ------=_Part_4702_920085282.1517862773857 Content-Type: multipart/alternative; boundary="----=_Part_4703_1773062431.1517862773858" ------=_Part_4703_1773062431.1517862773858 Content-Type: text/plain; charset="UTF-8" I think this is a relatively recent regression. `\ ` at the start of a line normally gets treated as a space: > pandoc one \ two three

one

two

three

But if it's in a table, it gets preserved now. HTML below: > pandoc one | one ----|--- two | two \ | three
one one
two two
\ three
Native output looks like this: [Table [] [AlignDefault,AlignDefault] [0.0,0.0] [[Plain [Str "one"]] ,[Plain [Str "one"]]] [[[Plain [Str "two"]] ,[Plain [Str "two"]]] ,[[Plain [Str "\\"]] ,[Plain [Str "three"]]]]] Versus this for the non-table version: [Para [Str "one"] ,Para [Str "\160two"] ,Para [Str "three"]] This has only started recently. I noticed it today in a document I last processed in October 2017. -- 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/1f5e2447-795b-45d4-991b-ed5a55ea706c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_4703_1773062431.1517862773858 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think this is a relatively recent regression. `\ ` at th= e start of a line normally gets treated as a space:

> pandoc
one

\ two

three
<p>one</p>
<p> two</
p>
<p>three</p><= /span>

But if it's in a tab= le, it gets preserved now. HTML below:

> pandoc
one | one
----|-= --
two | two
\ =C2=A0 | three
<table>
<thead>
<tr class=3D"header">
<th>one</th>
<th>= ;one</th>
</tr>
</thead>
&l= t;tbody>
<tr class=3D"odd&quo= t;>
<td>two</td>
<td>two</td>
</tr>
<tr class=3D&= quot;even">
<td>\</td&g= t;
<td>three</td>
</tr>
<= ;/tbody>
</table>

Native output looks like this:

[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
=C2=A0[[Plain
[Str "one"]]
=C2=A0
,[Plain= [<= span style=3D"color: #606;" class=3D"styled-by-prettify">Str
"one"]]]
=C2=A0
[[[Plain [Str "= two"]= ]
=C2= =A0
,[Plain [Str "two"]]]
=C2=A0
,[[Plain [Str "\\"<= span style=3D"color: #660;" class=3D"styled-by-prettify">]]

=C2=A0
,[Plain [Str "three"]]]]]

Versus t= his for the non-table version:

[P= ara [Str "one"]
,Para = [Str "\160two"]
,Para [Str "= ;three"]]


This= has only started recently. I noticed it today in a document I last process= ed in October 2017.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/1f5e2447-795b-45d4-991b-ed5a55ea706c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_4703_1773062431.1517862773858-- ------=_Part_4702_920085282.1517862773857--