Skip to content

list flattening #124

Open
Open
@mangotonk

Description

@mangotonk

hello and thanks for this great tool. not sure if i am misunderstanding how to configure, but say I have the following:

<small>Sat 20 Apr 2024  Depart Routeburn Shelter 
<ul style="list-style-type: none;">
<li>Pickup at Routeburn Shelter (9:45am) 314 Routeburn Road</li>
<li>Drop off at Info &amp; Track Office (11:00am) 37 Shotover St</li>
</ul>Sat 20 Apr 2024  Depart Queenstown 
<ul style="list-style-type: none;">
<li>Pickup at Central Queenstown, 48 Camp St Bus Stop (Outside Marmolada Cafe) (4:35pm) 48 Camp St</li>
<li>Drop off at Te Anau Lakeview Holiday Park (7:20pm) 77 Manapouri - Te Anau Highway</li>
</ul>
</small>

after processing via this tool the ul and li tags are processed out and i lose the default newlines after li elements, so everything ends up crushed up together on one line and in two 'small' elements, like this (I know the innerhtml is not the same).

<small style="font-size:80%"><del style="color:#aa3333;background-color:#ffeaea;text-decoration:line-through">Mon 22 Apr 2024 Depart Queenstown</del><ins style="color:#333333;background-color:#eaffea;text-decoration:none">Sat 20 Apr 2024 Depart Queenstown</ins> </small>
<small style="font-size:80%"><del style="color:#aa3333;background-color:#ffeaea;text-decoration:line-through">Pickup at Frankton Bus Hub, Golf Course Stop (Stop ID: 203) (7:05am</del><ins style="color:#333333;background-color:#eaffea;text-decoration:none">Pickup at Central Queenstown, 48 Camp St Bus Stop (Outside Marmolada Cafe) (6:55am) 48 Camp StDrop off at Bob &amp; Maxine's Backpackers (drop-off) (9:50am</ins>) </span><del style="color:#aa3333;background-color:#ffeaea;text-decoration:line-through">Drop off at Cosy Kiwi Bed &amp; Breakfast (drop-off) (9:50am) </del></small>

Ive tried tweaking the HTMLDiffConfig but I cant find a solution. Can you help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions