snarfed / bridgy-fed

🌉 A bridge between decentralized social network protocols
https://fed.brid.gy
Creative Commons Zero v1.0 Universal
562 stars 30 forks source link

ATProto => AP: text in <angular tags> is stripped #1144

Open mackuba opened 3 months ago

mackuba commented 3 months ago

Example:

Original post: https://bsky.app/profile/mackuba.eu/post/3kvhsyfjr7s2s

Bridged post: https://mastodon.social/@mackuba.eu@bsky.brid.gy/112657049369567769

Screen Shot 2024-06-22 at 17 05 32

The <insert pepe silvia meme> fragment has been stripped - probably the angular brackets should be escaped to lt/gt first.

snarfed commented 3 months ago

Yes! Should be an easy fix. (Famous last words.)

snarfed commented 3 months ago

I've done this for profiles. Posts will be more difficult because we'll have to shuffle facet/tag indices over to match every time we escape an HTML char. Hrm.