Event JSON
{
"id": "79c9c5737589a725f8bffe5362c011a7cb8e80016b9d468f714d0835f682c570",
"pubkey": "a071462e960207a7a2272a3f59d042e59623bb2217b56f9365cba21e12213e3e",
"created_at": 1713977932,
"kind": 1,
"tags": [
[
"e",
"b219b87a78e88444bf5cee82af3a965b8d2218c32a9477e3b2e4487d8a1c1ea9",
"",
"reply"
],
[
"e",
"6583b6d31f49dfcf5a9b1e7035a9e1c44347a1cc76b0392f1ced5e6b4a78207b",
"",
"root"
],
[
"p",
"a071462e960207a7a2272a3f59d042e59623bb2217b56f9365cba21e12213e3e"
],
[
"p",
"fa091f722cd7b762b3eaa80ee0c307dcfbe6727a6e91f784bc40acd9c43c2730"
],
[
"proxy",
"https://chaos.social/users/scy/statuses/112327257758465651",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chaos.social/users/scy/statuses/112327257758465651",
"pink.momostr"
]
],
"content": "Is there an easy way to \"strip\" the whole input document in bs4, like throw away indentation and line breaks? Because markdownify chokes on that. E.g.\n\n\u003cp\u003e\n foo\n\u003c/p\u003e\n\nbecomes\n\n foo\n\nin Markdown (with a fucking leading space lol)",
"sig": "5489c3765943a64bc1d0f4e542492f9905f05db58dbe7febddffa0ceffb74168ce9654425b1e8d77a42751a7de6422a37e4ccd987716d64661ff05c3eee309c4"
}