1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-13 01:23:12 +01:00

chore(Widget): Add comment regarding LatestFollowersEntryAccountable.noteWithoutHtmlTags

This commit is contained in:
Marcus Kida 2023-02-07 09:38:27 +01:00
parent 8a1a483787
commit f4d066c8f4
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -126,6 +126,10 @@ struct LatestFollowersWidgetView: View {
}
}
/// This code is used to strip HTML tags from the bio description as the widgets currently dont support
/// rich text rendering due to the lack of SwiftUI-only components for this purpose.
/// todo: Implement rich text rendering for bio description and remove this code
/// https://github.com/mastodon/mastodon-ios/issues/921
private extension LatestFollowersEntryAccountable {
var noteWithoutHtmlTags: String? {
do {