What is Nostr?
Fixstern /
npub1lgy…yhwx
2024-04-24 17:18:13
in reply to nevent1q…htz4

Fixstern on Nostr: get_text() has a strip=True parameter which removes whitespace. First parameter of ...

get_text() has a strip=True parameter which removes whitespace. First parameter of that function defines how to replace linebreaks. If you want a generator you can use .stripped_strings on the tag or parser instance and will get an array of strings
Author Public Key
npub1lgy37u3v67mk9vl24q8wpsc8mna7vun6d6gl0p9ugzkdn3puyucqa2yhwx