Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list flattening #124

Open
mangotonk opened this issue Apr 19, 2024 · 0 comments
Open

list flattening #124

mangotonk opened this issue Apr 19, 2024 · 0 comments

Comments

@mangotonk
Copy link

mangotonk commented Apr 19, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant