Skip to content

Commit

Permalink
Fix featured article
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed Aug 1, 2024
1 parent 75a9806 commit 276a415
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Widgets/Widgets/FeaturedArticleWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ struct FeaturedArticleEntry: TimelineEntry {
return content?.languageCode
}

var title: String {
return (content?.displayTitle as NSString?)?.wmf_stringByRemovingHTML() ?? ""
}
var title: String {
return content?.displayTitle.removingHTML ?? ""
}

var description: String {
return content?.description ?? ""
Expand Down

0 comments on commit 276a415

Please sign in to comment.