From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30854 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sukil Etxenike arizaleta Newsgroups: gmane.text.pandoc Subject: Re: HTML attributes not being stripped off Date: Mon, 27 Jun 2022 11:55:02 +0200 Message-ID: <87174047-ad9b-b702-4a08-eaa3c00c511d@gmail.com> References: <509F89B3.4070403@web.de> <20121111223615.GE4399@Johns-MacBook-Air-2.local> <50A14A92.9060301@web.de> <33fcfdbf-3edc-4145-a7f0-325bfd42698fn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------sPIZPpMOLQrL5YzWd8GQMDYJ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIN5YV3SMDBB6P44WKQMGQE5RTZXGY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 27 11:55:12 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f63.google.com ([209.85.221.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o5lSa-0008JB-J5 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 27 Jun 2022 11:55:12 +0200 Original-Received: by mail-wr1-f63.google.com with SMTP id u9-20020adfa189000000b0021b8b3c8f74sf1058725wru.12 for ; Mon, 27 Jun 2022 02:55:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656323712; cv=pass; d=google.com; s=arc-20160816; b=m/fawem9Z6GqavONf7VtQLX2/D3qz8cOrjr4noNe3UjnYggLqn6CiWSKqKv/GnKc/d +WJL09b0fpYfD4L3+q0pP+1HoBE1hLMFr9Dvsmmouxysgs7uf2pIPEDC4UfATDb/9PJd LAjs7En2W85U+D5O2PozxmICBY/Ni/PMlIJ6Gks3hxk3vwVew98ZdJxCpVNF4thjssA2 Fo3/Tc3iIV93iYXdB7wVZUT/m75u6kQ+6gB9RrwAPUdAIpQRBLQwkR/X39Q9s8qmwXmw BkHtEGhAIsPeoEui31JN7C7VdjvfDdQX85Rbg4m7X31thPuKZ8J8Yze25nWoyLuL70Pd ql0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=G+q60CvzcDq3M/kmTIreqxArjm+WP9BmAKunrxGiEyw=; b=YcIxCUMIlVU1I6apTKsmdCHxlFxfJ+KJy/m/8FHRhnOm3OyNtzoQ+mX6fq3I9bHzvb w60Hf9kT0FSLmMDNTnWdLQCNRABYPp1HmcyzN/RJASsXL7TK+oYldUWyRTmUbSNbOyzC RBmRqdmuNCbuzk19s0LiYoNpMqXUiKlyIQsLREH9bO9RRfVUS84Kt4z7M3A8M28Qhx5i m5X7H4BcJKU63asjw7yxJILBV6JolW9Pl7Y+Snbm+SevYFMYAWA6ZfVj1qUt5M2QZOqU hWiodTf8pB2VRVLVk1mxMPIUYik8hhubDI0a1JBMak9w32ZsyttjuEbsHtD2lIV49rHZ eVrw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cG5r++3f; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=G+q60CvzcDq3M/kmTIreqxArjm+WP9BmAKunrxGiEyw=; b=A3JMuDDVo5DGm6nbDXCtyOcKHvTONRfrh7ppb2LevLR+4kDvm6aYQaK52WC7lLCVei pa9QTeweBKwmWYeTevEyLGGDjjhwhpqYqmpFvTvKmeQ1odTuJa34LJjiVqaHLmnryc6O d1HDXoj4xOgEVMePfkjtjqvKcZLCEcgmhV085Cy2WEkHRRvKHGX8zXfcSdXGPim8C87L IyV1eUKgNb/pdI/90PuscMZfuSY37WY4NavFHn2JQBb/ZX6X3580i0YpaiSrTboukCbO X259CzazUt+1soy+E0Q5+hH3PR2UHipqAGIY8R0F+uptBEi9LVZd88KGx+msMxPAi2yZ iUkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=G+q60CvzcDq3M/kmTIreqxArjm+WP9BmAKunrxGiEyw=; b=dQgFQK+ZVqjM0omuAxjNuO/dhILKZObN6N713CH6BbFTYWMOCEo8OfMG7fV9GziFHt ShtCdhSy5C8KTRQdVW2emH2bRk6EaoQcDBdmi3dd5TaMpXTPkCwJ+/bUFZXQfwJ4IS9j SK00kk6ZvSr5BPQzh3ywN1ysphLGmQzkGHFXY5FwJJSFx29pxU9X3E+ANTLEX3F0N5v8 JEcfW68weLK4jRIDkVZ4UmKaSzAVCa9RJg7Lt/aSRb79hnY3VH+MGrVAPV9VA7jXnJGt cri0QOaBh8fY2Lmi/E/j36NNeG91qHpPDxYwTZqNfpA1VRX15lJchXO0mlpK1gOSKvDm Yyhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=G+q60CvzcDq3M/kmTIreqxArjm+WP9BmAKunrxGiEyw=; b=WXolPZVj+dIPZpLVpl6sqLwwbDw0Bg+ZxSM2lCrw6/JOJ252d8p9mfL1Mw2LlXHfqq 4Wcr/nNCjh456EpCZkgVKx+zOb2N4PI1zMt6wNowmdQNqEllI+t1Rv9UN6gSzc5fC4vC TnsNZfDnjrGGN3L1SXvCc1jy8lHRcYrmXcbiAC29scXt1V8z05Ub1wrDlGryM/Q73GZZ N0OMljJEd/QxrBMXo00nk+3BDgsJmHn+THHukJM2UN8+SQh8+yoWqPKdWq5OyQn+KM7b NeUudw44wdkyYt+5TnlZSpjU/GkVlMMCGzOHl5pYIxmQMsvkC67KzFrOOarKJ94nSvQ2 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8wRYbTuDSvMEtLnzL659chVHywvCIVhLH5Cua63WFB7YW2iMak tlxio7rebXaiPwvwHTo5gZs= X-Google-Smtp-Source: AGRyM1tPll84z1ysRfhjuyEpNkF1CKmtrskEzGRcApN0ajxTz7RhskMPNgaDtyeL2Aj/ZJY8pKu/RA== X-Received: by 2002:a5d:595d:0:b0:21b:84af:552a with SMTP id e29-20020a5d595d000000b0021b84af552amr11730728wri.656.1656323712260; Mon, 27 Jun 2022 02:55:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:6dab:0:b0:212:d9db:a98 with SMTP id u11-20020a5d6dab000000b00212d9db0a98ls25889837wrs.3.gmail; Mon, 27 Jun 2022 02:55:05 -0700 (PDT) X-Received: by 2002:a5d:6da8:0:b0:218:510a:be9f with SMTP id u8-20020a5d6da8000000b00218510abe9fmr11428401wrs.352.1656323704924; Mon, 27 Jun 2022 02:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656323704; cv=none; d=google.com; s=arc-20160816; b=FhWr1a8wrFj9ogB0lsZG35QNDbHD3Zsp0jfCLOdzkac4sDMLkeCzj9dBsQHdbWbeZs 11DJYzXG+FGtWerJygCMKtmO3WqMJ6OFDW8DJRN3cZsGKU0HGXc2KbGzUQJgWMonNjiB ZJKbo+LON6vJKgPXysR03F2Q+nii3x+2aYndhHRbNOVBogM8syvKhqbUZYdg2VSw264D yAy/3SjKtiplJZEa+M/b4w7S6nvqTbGZf8px1iBhXU+VXsuwOPpl8m3oYVKljAdNzx3G JxMhqugpWlq39EBdG6IE7+Ky1urIWyEIQ9tEKXUSzOEdH1LPHsbh0889lQgLG2YJNlMm tXWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=co7AunpsIZbycNhVMYX4IZlOesX9WPFSUexwC/Y11yk=; b=Q3EjYKuETMyiOGSvgonkiv24O9DZFowm5jDBpecXNQKO0T7K3KREzdLfRA1akpmmw7 bI0f4ew0khhHLq9a+DhUURAV+kdYoyBMLemU7JqmCqLhwZ77D4hoFm41y1BEN2G8GKpx gQvajUI7uxPzP+8IJPk20PjhZZ7CDByazPi2Y5VanxmBYCBgw47b05U5mrlJu6v+HXuX FeG227C1tkKJ2UWFVWalwnsraSl49eTMBqw+RFjHZPTC02+gAlQ7H+AX+hzKe4oRt0Q4 9wPMevkn6mshh9aksDM2RwE9sQKiHn3AVTGTPAdcK+9OJMSdLxXtpT2OYJzeARV4BL1Q Xhwg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cG5r++3f; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com. [2a00:1450:4864:20::329]) by gmr-mx.google.com with ESMTPS id w8-20020a5d5448000000b0021b892cde48si339695wrv.8.2022.06.27.02.55.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jun 2022 02:55:04 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) client-ip=2a00:1450:4864:20::329; Original-Received: by mail-wm1-x329.google.com with SMTP id o19-20020a05600c4fd300b003a0489f414cso1721590wmq.4 for ; Mon, 27 Jun 2022 02:55:04 -0700 (PDT) X-Received: by 2002:a05:600c:1d1c:b0:3a0:49a2:6b40 with SMTP id l28-20020a05600c1d1c00b003a049a26b40mr6011006wms.103.1656323704412; Mon, 27 Jun 2022 02:55:04 -0700 (PDT) Original-Received: from [192.168.1.23] (58.red-176-82-24.dynamicip.rima-tde.net. [176.82.24.58]) by smtp.gmail.com with ESMTPSA id o6-20020adfcf06000000b0021a34023ca3sm9853483wrj.62.2022.06.27.02.55.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jun 2022 02:55:04 -0700 (PDT) Content-Language: es-ES In-Reply-To: <33fcfdbf-3edc-4145-a7f0-325bfd42698fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cG5r++3f; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:30854 Archived-At: This is a multi-part message in MIME format. --------------sPIZPpMOLQrL5YzWd8GQMDYJ Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi, What are you trying to do? Pandoc's markdown (and so Pandoc itself)=20 supports codeblocks (pre or code, I don't remember), divs and spans with=20 attributes (and I believe headers too). I think paragraphs can't have=20 attributes. Cheers, Sukil El 27/06/2022 a las 11:42, 'guenael Muller' via pandoc-discuss escribi=C3= =B3: > Hello all, > > Up from the future (10 years !) > > I have a similar issue now with playing with pandoc and weasyprint=20 > using pandoc for the templating. > What seems to be a bit curious, is that some html attribute are=20 > stripped off and some are not. > > Example: > >

Just= some=20 > text

>
>

Just some text

>
> > give: > >

Just some text

>
>

Just some text

>
> > I don't get the logic behind the fact that HTML attribute are stripped=20 > for p and not for div. Understanding it may help me make a decision > if it's worth to adapt my HTML depending on this behavior. > > Thanks for your answers, > > Guenael > > Le lundi 12 novembre 2012 =C3=A0 20:14:26 UTC+1, ousia a =C3=A9crit=C2=A0= : > > Thank you for your explanation, John. > > I'm afraid I cannot code and pandoc's internal representation of the > document (sorry if the naming isn't accurate, but this is really > Greek > to me [=CF=87=CE=B1=CE=BB=CE=B5=CF=80=E1=BD=B0 =CF=84=E1=BD=B0 =CE=BA= =CE=B1=CE=BB=CE=AC, I agree :-)]) is beyond my extremely limited > understanding on these matters. > > I can understand (and I hope I'm not wrong) that pandoc cannot be as > flexible as HTML and this is on purpose. (This might be > problematic for > some uses, as the Spanish law gazette uses no headings, but it > distinguishes the different

with different classes.) > > Not focusing specifically on HTML, I think that pandoc should > allow to > uniquely identify, add to a class and set the language to any > element, > desired text span or division. > > I know that this is related to a couple of messages I sent yesterday. > Sorry for repeating myself, but these are basic features to write > documents. > > From the documentation perspective, it would be to apply the type > Attr > to any constructor from data Block and Inline. And to data TableCell. > > Although language could be defined as a key-value pair in type > Attr, I > think is clearer to define a new specific language attribute. > > Is there anything wrong with this approach? > > Many thanks for your help, > > > > Pablo > > On 11/11/12 23:36, John MacFarlane wrote: > > You've got to remember that pandoc converts the input format to an > > internal representation of the document (the 'Pandoc' > structure), and > > then converts that to the output format. > > > > This internal representation (see > > > http://hackage.haskell.org/packages/archive/pandoc-types/1.9.1/doc/ht= ml/Text-Pandoc-Definition.html) > > > is much less expressive than HTML, and doesn't have a place for the > > attributes you want. That's why they are lost on HTML -> HTML > > translation. > > > > +++ Pablo Rodr=C3=ADguez [Nov 11 12 12:19 ]: > >> Hi John, > >> > >> I'm using pandoc mainly to generate ePub files. > >> > >> I used textile first as source language, but it isn't fully > implemented > >> by pandoc and textile itself has issues with multiparagraph > elements. > >> > >> It seems HTML is probably a much better option for pandoc as > source > >> language, although I have to forget footnotes. There is no way > to have > >> it all. > >> > >> But pandoc strips almost all attributes from HTML elements. > >> > >> A minimal sample: > >> > >>

    > >>
  1. Well there is no other way to tag lingua > >> latina.

    > >>
  2. Or even classes or ids.

    .
  3. > >>
> >> > >> Would it be possible that there is an option that doesn't strip > off > >> attributes from HTML code? > >> > >> BTW, when converting from HTML to another HTML code, at least > id, class > >> and lang attributes shouldn't be stripped off by default. > >> > >> Many thanks for your help, > >> > >> > >> Pablo > >> -- > >> http://www.ousia.tk > >> > >> -- > >> You received this message because you are subscribed to the > Google Groups "pandoc-discuss" group. > >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To unsubscribe from this group, send email to > pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > --=20 > http://www.ousia.tk > > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/33fcfdbf-3edc-4145-a7f0-= 325bfd42698fn%40googlegroups.com=20 > . --=20 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 e= mail 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/87174047-ad9b-b702-4a08-eaa3c00c511d%40gmail.com. --------------sPIZPpMOLQrL5YzWd8GQMDYJ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

What are you trying to do? Pandoc's markdown (and so Pandoc itself) supports codeblocks (pre or code, I don't remember), divs and spans with attributes (and I believe headers too). I think paragraphs can't have attributes.

Cheers,

Sukil


El 27/06/2022 a las 11:42, 'guenael Muller' via pandoc-discuss escribi=C3=B3:
Hello all,

Up from the future (10 years !)

I have a similar issue now with playing with pandoc and weasyprint using pandoc for the templating.
What seems to be a bit curious, is that some html attribute are stripped off and some are not.

Example:

<p style=3D"xxx" lang=3D"ar" dir=3D"rtl" class=3D"test" id=3D"first">Just some text</p>
<div style=3D"xxx" lang=3D"ar" dir=3D"rtl" class=3D"test" id=3D"second">
<p>Just some text</p>
</div>

give:

<p>Just some text</p>
<div id=3D"second" class=3D"test" style=3D"xxx" lang=3D"ar" dir=3D"rtl">
<p>Just some text</p>
</div>

I don't get the logic behind the fact that HTML attribute are stripped for p and not for div. Understanding it may help me make a decision
if it's worth to adapt my HTML depending on this behavior.

Thanks for your answers,

Guenael

Le lundi 12 novembre 2012 = =C3=A0 20:14:26 UTC+1, ousia a =C3=A9crit=C2=A0:
Th= ank you for your explanation, John.

I'm afraid I cannot code and pandoc's internal representation of the
document (sorry if the naming isn't accurate, but this is really Greek
to me [=CF=87=CE=B1=CE=BB=CE=B5=CF=80=E1=BD=B0 =CF=84=E1=BD=B0 = =CE=BA=CE=B1=CE=BB=CE=AC, I agree :-)]) is beyond my extremely limited
understanding on these matters.

I can understand (and I hope I'm not wrong) that pandoc cannot be as
flexible as HTML and this is on purpose. (This might be problematic for
some uses, as the Spanish law gazette uses no headings, but it
distinguishes the different <p> with different classes.)

Not focusing specifically on HTML, I think that pandoc should allow to
uniquely identify, add to a class and set the language to any element,
desired text span or division.

I know that this is related to a couple of messages I sent yesterday.
Sorry for repeating myself, but these are basic features to write documents.

From the documentation perspective, it would be to apply the type Attr
to any constructor from data Block and Inline. And to data TableCell.

Although language could be defined as a key-value pair in type Attr, I
think is clearer to define a new specific language attribute.

Is there anything wrong with this approach?

Many thanks for your help,



Pablo

On 11/11/12 23:36, John MacFarlane wrote:
> You've got to remember that pandoc converts the input format to an
> internal representation of the document (the 'Pandoc' structure), and
> then converts that to the output format.
>
> This internal representation (see
> http:/= /hackage.haskell.org/packages/archive/pandoc-types/1.9.1/doc/html/Text-Pand= oc-Definition.html)
> is much less expressive than HTML, and doesn't have a place for the
> attributes you want. That's why they are lost on HTML -> HTML
> translation.
>
> +++ Pablo Rodr=C3=ADguez [Nov 11 12 12:19 ]:
>> Hi John,
>>
>> I'm using pandoc mainly to generate ePub files.
>>
>> I used textile first as source language, but it isn't fully implemented
>> by pandoc and textile itself has issues with multiparagraph elements.
>>
>> It seems HTML is probably a much better option for pandoc as source
>> language, although I have to forget footnotes. There is no way to have
>> it all.
>>
>> But pandoc strips almost all attributes from HTML elements.
>>
>> A minimal sample:
>>
>> <ol start=3D"2" style=3D"list-style-type:lower-latin;">
>> <li><p>Well there is no other way to tag <em lang=3D"la">lingua
>> latina</em>.</p>
>> <li><p>Or even classes or ids.</p>.</li>
>> </ol>
>>
>> Would it be possible that there is an option that doesn't strip off
>> attributes from HTML code?
>>
>> BTW, when converting from HTML to another HTML code, at least id, class
>> and lang attributes shouldn't be stripped off by default.
>>
>> Many thanks for your help,
>>
>>
>> Pablo
>> --
>> http:/= /www.ousia.tk
>>
>> --
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> To unsubscribe from this group, send email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> For more options, visit https:= //groups.google.com/groups/opt_out.
>>
>>
>

--
http:/= /www.ousia.tk
--
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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/33fcfdbf-3edc-4145-a7f0-325bfd42698fn%40googlegroups.com.

--
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/p= andoc-discuss/87174047-ad9b-b702-4a08-eaa3c00c511d%40gmail.com.
--------------sPIZPpMOLQrL5YzWd8GQMDYJ--