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
1 changed files with 4 additions and 0 deletions

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 { private extension LatestFollowersEntryAccountable {
var noteWithoutHtmlTags: String? { var noteWithoutHtmlTags: String? {
do { do {