From: Max Cohen <max-F+KgNXBqIBDQT0dZR+AlfA@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: List item value attribute
Date: Mon, 6 Dec 2021 04:12:41 -0800 (PST) [thread overview]
Message-ID: <12e9606c-d441-4365-8316-d5948b10425cn@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 823 bytes --]
Hello,
When using html as a source, we can get a <li> tag with a value attribute
( https://www.w3schools.com/TAGs/tag_li.asp )
Is there a way to keep this when the output type is epub?
Right now, it looks like the attributes are stripped.
When input is like this:
<ol>
<li>1</li>
<li value="3">3</li>
<li value="4">4</li>
</ol>
the output is like this
<ol>
<li>1</li>
<li>3</li>
<li>4</li>
</ol>
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/12e9606c-d441-4365-8316-d5948b10425cn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1721 bytes --]
next reply other threads:[~2021-12-06 12:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 12:12 Max Cohen [this message]
[not found] ` <12e9606c-d441-4365-8316-d5948b10425cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-06 17:56 ` John MacFarlane
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=12e9606c-d441-4365-8316-d5948b10425cn@googlegroups.com \
--to=max-f+kgnxbqibdqt0dzr+alfa@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).