TootSDK
TootSDK copied to clipboard
Renderer tests are not able to build using Foundation on Linux
@kkostov is this still broken after https://github.com/TootSDK/TootSDK/pull/59 ?
Yes it is, the renderer is not tested on Linux at the moment t because we use NSAttribitedString(markdown) in tests which Foundation doesn’t support on Linux.
Btw, in my tootsdk fork I moved the renderer to the swiftui toot demo (I guess it needs to be in the vapor demo too, but I'm just freely breaking things), on the theory that tootsdk should be renderer independent, and I'm actually using the HTML2Markdown package from @divadretlaw (actually a fork with custom rendering) which you might consider using instead since you're also using his EmojiText package, and it's more exhaustive, e.g. paragraph breaks come out better.