Skip to content

[ux] Unique tag for preserving HTML list hierarchy, another fix for outdents#782

Merged
btopro merged 2 commits intohaxtheweb:masterfrom
winstonwumbo:master
Mar 10, 2026
Merged

[ux] Unique tag for preserving HTML list hierarchy, another fix for outdents#782
btopro merged 2 commits intohaxtheweb:masterfrom
winstonwumbo:master

Conversation

@winstonwumbo
Copy link
Contributor

New Features

  • Instead of using <span>, a unique <fake-hax-list-break> tag is used to track the original hierarchy when destroying and rebuilding a list block
  • Fixed a logic issue in my outdent code: The || would always resolve as true (ex. OL !== true || UL !== false). Changed this to && and it behaves properly.

@winstonwumbo winstonwumbo requested a review from btopro as a code owner March 9, 2026 16:25
@vercel
Copy link

vercel bot commented Mar 9, 2026

@winstonwumbo is attempting to deploy a commit to the HAXTheWeb Team on Vercel.

A member of the Team first needs to authorize it.

@winstonwumbo winstonwumbo changed the title [ux] Unique tag for preserving HTML list hierarchy, another logic issue with outdents [ux] Unique tag for preserving HTML list hierarchy, another fix for outdents Mar 9, 2026
@btopro btopro merged commit ff508ae into haxtheweb:master Mar 10, 2026
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants