public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* DOCX -> HTML data-custom-style values with and without spaces
@ 2020-10-28 15:44 Ken Dow
       [not found] ` <574b2c6b-225e-49d4-a85a-a6da33c88a54n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Dow @ 2020-10-28 15:44 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1090 bytes --]

I'm returning to a DOCX -> HTML conversion project after several months and 
finding that my CSS selectors no longer match what Pandoc is generating. 
For example, this appears in what was my working CSS:

div[data-custom-style="BodyListNumbered2"], 
  div[data-custom-style="BodyListNumbered2"] p {
  display: inline;
  margin-bottom: 0rem;
}

But the relevant HTML now has spaces in the data-custom-style value:

<ol type="a">
<li><div data-custom-style="Body List Numbered 2">
<p>To filter by a specific value, tap One RSSI Value Only, and then slide 
or enter the RSSI Value.</p>
</div></li>
</ol>

Has there been a change to the how the data-custom-style values are formed?

-- 
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/574b2c6b-225e-49d4-a85a-a6da33c88a54n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1998 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DOCX -> HTML data-custom-style values with and without spaces
       [not found] ` <574b2c6b-225e-49d4-a85a-a6da33c88a54n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-28 16:00   ` Ken Dow
       [not found]     ` <7c2cbfe8-3274-4b3e-86bf-da47132fd47fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Dow @ 2020-10-28 16:00 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1523 bytes --]

Also: I'm using pandoc 2.10.1, and looked at a previously-converted DOCX to 
confirm there were no spaces in a June 17th conversion:

<li><div data-custom-style="BodyListNumbered2">
<p>To filter by a specific value, tap <strong>One RSSI Value Only</strong>, 
and then slide or enter the <strong>RSSI Value</strong>.</p>
</div></li>

On Wednesday, 28 October 2020 at 11:44:08 UTC-4 Ken Dow wrote:

> I'm returning to a DOCX -> HTML conversion project after several months 
> and finding that my CSS selectors no longer match what Pandoc is 
> generating. For example, this appears in what was my working CSS:
>
> div[data-custom-style="BodyListNumbered2"], 
>   div[data-custom-style="BodyListNumbered2"] p {
>   display: inline;
>   margin-bottom: 0rem;
> }
>
> But the relevant HTML now has spaces in the data-custom-style value:
>
> <ol type="a">
> <li><div data-custom-style="Body List Numbered 2">
> <p>To filter by a specific value, tap One RSSI Value Only, and then slide 
> or enter the RSSI Value.</p>
> </div></li>
> </ol>
>
> Has there been a change to the how the data-custom-style values are formed?

-- 
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/7c2cbfe8-3274-4b3e-86bf-da47132fd47fn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2862 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DOCX -> HTML data-custom-style values with and without spaces
       [not found]     ` <7c2cbfe8-3274-4b3e-86bf-da47132fd47fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-28 17:03       ` John MacFarlane
       [not found]         ` <m2lffquvug.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2020-10-28 17:03 UTC (permalink / raw)
  To: Ken Dow, pandoc-discuss


The important question is not the date, but what pandoc version
you were using then and what version you're using now.

I believe the change is this one
https://github.com/jgm/pandoc/commit/c113ca6717d00870ec10716897d76a6fa62b1d41
which was announced in the changelog for pandoc 2.8.

Ken Dow <thekenshow-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Also: I'm using pandoc 2.10.1, and looked at a previously-converted DOCX to 
> confirm there were no spaces in a June 17th conversion:
>
> <li><div data-custom-style="BodyListNumbered2">
> <p>To filter by a specific value, tap <strong>One RSSI Value Only</strong>, 
> and then slide or enter the <strong>RSSI Value</strong>.</p>
> </div></li>
>
> On Wednesday, 28 October 2020 at 11:44:08 UTC-4 Ken Dow wrote:
>
>> I'm returning to a DOCX -> HTML conversion project after several months 
>> and finding that my CSS selectors no longer match what Pandoc is 
>> generating. For example, this appears in what was my working CSS:
>>
>> div[data-custom-style="BodyListNumbered2"], 
>>   div[data-custom-style="BodyListNumbered2"] p {
>>   display: inline;
>>   margin-bottom: 0rem;
>> }
>>
>> But the relevant HTML now has spaces in the data-custom-style value:
>>
>> <ol type="a">
>> <li><div data-custom-style="Body List Numbered 2">
>> <p>To filter by a specific value, tap One RSSI Value Only, and then slide 
>> or enter the RSSI Value.</p>
>> </div></li>
>> </ol>
>>
>> Has there been a change to the how the data-custom-style values are formed?
>
> -- 
> 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/7c2cbfe8-3274-4b3e-86bf-da47132fd47fn%40googlegroups.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DOCX -> HTML data-custom-style values with and without spaces
       [not found]         ` <m2lffquvug.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-10-28 17:49           ` Ken Dow
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Dow @ 2020-10-28 17:49 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2723 bytes --]

Hmmm. Got a new Mac in June and must've updated pandoc, likely with a 
switch to brew. I must've been on a pre-2.8 version. Thanks for the quick 
answer. I'll rebuild my other conversion workflows to account for this.

On Wednesday, 28 October 2020 at 13:03:23 UTC-4 John MacFarlane wrote:

>
> The important question is not the date, but what pandoc version
> you were using then and what version you're using now.
>
> I believe the change is this one
>
> https://github.com/jgm/pandoc/commit/c113ca6717d00870ec10716897d76a6fa62b1d41
> which was announced in the changelog for pandoc 2.8.
>
> Ken Dow <theke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > Also: I'm using pandoc 2.10.1, and looked at a previously-converted DOCX 
> to 
> > confirm there were no spaces in a June 17th conversion:
> >
> > <li><div data-custom-style="BodyListNumbered2">
> > <p>To filter by a specific value, tap <strong>One RSSI Value 
> Only</strong>, 
> > and then slide or enter the <strong>RSSI Value</strong>.</p>
> > </div></li>
> >
> > On Wednesday, 28 October 2020 at 11:44:08 UTC-4 Ken Dow wrote:
> >
> >> I'm returning to a DOCX -> HTML conversion project after several months 
> >> and finding that my CSS selectors no longer match what Pandoc is 
> >> generating. For example, this appears in what was my working CSS:
> >>
> >> div[data-custom-style="BodyListNumbered2"], 
> >> div[data-custom-style="BodyListNumbered2"] p {
> >> display: inline;
> >> margin-bottom: 0rem;
> >> }
> >>
> >> But the relevant HTML now has spaces in the data-custom-style value:
> >>
> >> <ol type="a">
> >> <li><div data-custom-style="Body List Numbered 2">
> >> <p>To filter by a specific value, tap One RSSI Value Only, and then 
> slide 
> >> or enter the RSSI Value.</p>
> >> </div></li>
> >> </ol>
> >>
> >> Has there been a change to the how the data-custom-style values are 
> formed?
> >
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/7c2cbfe8-3274-4b3e-86bf-da47132fd47fn%40googlegroups.com
> .
>

-- 
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/0b1baaca-abe7-4fb9-bbea-c70df5cdbb7dn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 4483 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-28 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 15:44 DOCX -> HTML data-custom-style values with and without spaces Ken Dow
     [not found] ` <574b2c6b-225e-49d4-a85a-a6da33c88a54n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-28 16:00   ` Ken Dow
     [not found]     ` <7c2cbfe8-3274-4b3e-86bf-da47132fd47fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-28 17:03       ` John MacFarlane
     [not found]         ` <m2lffquvug.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-28 17:49           ` Ken Dow

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).