Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @fedicat@pc.cafe
Aslak Raanes@aslakr@mastodon.social (2026-06-18 12:52:32)
@fedicat Does it work reliably on rich text, i.e. HTML elements?
---Reply---
fedicat@fedicat@pc.cafe (2026-06-18 13:08:41)
@aslakr I convert the HTML to plain text before passing it to TextDiffing, so it's not going to catch formatting changes. Unfortunately, the edit history doesn't include the typed-in source, only the HTML generated by the server.
https://docs.joinmastodon.org/entities/StatusEdit/#content
https://github.com/simonbs/TextDiffing
Reply