From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28650 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Newsgroups: gmane.text.pandoc Subject: Re: Converting Markdown to HTML generates unexpected html tags Date: Thu, 17 Jun 2021 20:57:26 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1008_1330706707.1623988646440" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5897"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQ73QHZNUIKPM5QQYDBUBDCFWUH6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 18 05:57:29 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f64.google.com ([209.85.210.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lu5dJ-0001JR-HX for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 18 Jun 2021 05:57:29 +0200 Original-Received: by mail-ot1-f64.google.com with SMTP id l18-20020a9d70920000b029044977534021sf4169388otj.12 for ; Thu, 17 Jun 2021 20:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=yDRJH3x9Ds9ApF4u+96s/tcQom+XluZXZP7eSDnylf4=; b=jUrVbvjjnpeqfqqqNXIYoU3WaRL+Dee78emP4felXqdh3HHgluMQE4N7GzBqMBXeq0 NX5sdQOatqbM6DwW32CmB2Wu+qwfQ5sHHgC8CSdLFMMUY8jnQmCOGKHDVNgSbxYJ+pqO VJKYL40Lrq+M1s5dPOJ9AMr5Oi2U4Xy1feqZM1MoXQ6C2/EktiVwlzzfVrXvmpbx+F1C 3/h5A8O68v7A1CfTRdpfSmSUAuVWTMVp3X2irz0Lw4KJytI9YT0tBy+b7L5GOh7wWgT8 tHAK55NM54a7ed1cSTX+sbQVcwfqEk+shAiDppQ3SSaOHX5GxRKjKMlp/yjsfuNdrNjB HjEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=yDRJH3x9Ds9ApF4u+96s/tcQom+XluZXZP7eSDnylf4=; b=ph3W5sIrWh/iw1USgtRgQybO1NxD2bmS2QoidqW/v3LV8VePxAIFhp3iuWcJIq/elT bGAIAGKHDsvLlnGaB+b517DF4MrRgboMegnkOsPOxDA/AstlGxLgyQCVKm2HVGXZiMGC IwSulnMY2hGr4x6UbzmhIrW74PGlpFbG1PcMA7OoikfuOC8E8WHd46uwQ5J401GI4Ugm /VO7Pm8KhinjZs4zEqbo8tDYWUYzvgX70yhKdsQ0icBrYyhnuN3OFU/GVil45f09e9ok q5KEigJVCkEmgQPEy+6LCZnyjX7uMBc+117jPhq3F5H7/rezKIZKd5gDjI3fzWVY59/J 6u+g== 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:in-reply-to :references: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=yDRJH3x9Ds9ApF4u+96s/tcQom+XluZXZP7eSDnylf4=; b=SIm3ZP11QWfnSJiuqUXhTtxQFf0KxnmsZA460AHYeNAv0BDF7BZxV/HNOb67rB8cgK wGd5PxAQ4TAtDpxc6s1pvkM+5aVpwLzQK2AxLxwm5LZASAN3lDF0cL4aZCHdnCVvAK7y f0Gf21UBCTwqFOdVVEGT/V/K6eZk+k+mmZ35iESFktQVwaz44B88+SPAjjhORax8WugE ROUDCO2BXwDXLOfT2J38DJIyn0Z1v7c0dy2E3gqTD/NvEeHMfjy++junX4zYmEvE0SOe oIB19wOmoZcFlB2xB+qB7E7nOhDsdSb2dMbEbGo9agsLYv+9gJXvubXV8L8htRM8hO1P dHSA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530XhlEdWF4Lp9f7ReXD4b34Ru22Det7u4UlpIDxNo9Iz9iTZW9p dxr5A76Tn4XwPKoNCpZLGB4= X-Google-Smtp-Source: ABdhPJxpHL36mh88zuc8FZVooOuGDyrK6VQjsH2kTA3jMuuHYGljrAFdiaoxTG53w3Cyn/kuDdfgAA== X-Received: by 2002:a05:6830:1209:: with SMTP id r9mr504465otp.293.1623988648518; Thu, 17 Jun 2021 20:57:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:7d11:: with SMTP id v17ls3670772otn.3.gmail; Thu, 17 Jun 2021 20:57:27 -0700 (PDT) X-Received: by 2002:a05:6830:40b4:: with SMTP id x52mr7335493ott.117.1623988646973; Thu, 17 Jun 2021 20:57:26 -0700 (PDT) In-Reply-To: X-Original-Sender: james.tps09-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28650 Archived-At: ------=_Part_1008_1330706707.1623988646440 Content-Type: multipart/alternative; boundary="----=_Part_1009_1485883386.1623988646440" ------=_Part_1009_1485883386.1623988646440 Content-Type: text/plain; charset="UTF-8" Thank you for the suggestions! I tried them, and it is working accordingly now. On Thursday, June 17, 2021 at 10:21:43 PM UTC+8 James wrote: > I am new in using pandoc and I am trying to convert a markdown document to > HTML. Inside it I have a bunch of html tags to sort out 2 images into two > side by side columns. However when I convert it from Markdown to HTML the > tags changes to
 tags. Is this normal? Am I missing 
> anything out? Below is what I meant.
>
> From in Markdown
>
> 
>
> >
>
> >
>
> > To in HTML > >
>
>
<img src="img1.jpg" 
> style="width:50%"></img>
>
>
>
<img src="img2.jpg" 
> style="width:50%"></img>
>
>
> > I am using pandoc 1.19.2.4 compiled with pandoc-types 1.17.0.5, texmath > 0.9.4.4, skylighting 0.3.3.1 > Thanks ! > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dab1aa04-8597-4fe1-8bd7-64f085a0b647n%40googlegroups.com. ------=_Part_1009_1485883386.1623988646440 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for the suggestions! I tried them, and it is working accordingly = now.

On Thursday, June 17, 2021 at 10:21:43 PM UTC+8 James wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left:= 1px solid rgb(204, 204, 204); padding-left: 1ex;">I am new in using pandoc= and I am trying to convert a markdown document to HTML. Inside it I have a= bunch of html tags to sort out 2 images into two side by side columns. How= ever when I convert it from Markdown to HTML the <img> tags changes t= o <pre><code> tags. Is this normal? Am I missing anything out? = Below is what I meant.

From in Markdown

<div class=3D"row">
=C2=A0 <div class= =3D"column">
=C2=A0 =C2=A0 <img src=3D"img1.= jpg" style=3D"width:50%"></img>
=C2=A0 &l= t;/div>
=C2=A0 <div class=3D"column">
=C2=A0 =C2=A0 <img src=3D"img2.jpg" style=3D"width:50%&= quot;></img>
=C2=A0 </div>
</div><= /div>

To in HTML

&= lt;div class=3D"row">
<div class=3D"colu= mn">
<pre><code>&lt;img src=3D&= quot;img1.jpg&quot; style=3D&quot;width:50%&quot;&gt;&l= t;/img&gt;</code></pre>
</div>
<div class=3D"column">
<pre><= ;code>&lt;img src=3D&quot;img2.jpg&quot; style=3D&quot;w= idth:50%&quot;&gt;&lt;/img&gt;</code></pre>
</div>
</div>

I= am using pandoc 1.19.2.4 compiled with pandoc-types 1.17.0.5, texmath 0.9.= 4.4, skylighting 0.3.3.1
Thanks !

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/dab1aa04-8597-4fe1-8bd7-64f085a0b647n%40googlegroups.= com.
------=_Part_1009_1485883386.1623988646440-- ------=_Part_1008_1330706707.1623988646440--