Disable ruby tags for now

This commit is contained in:
Nate Weaver 2020-04-10 15:33:16 -05:00
parent c555646fb2
commit f36b9a2a84
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public extension Array where Element == Article {
} }
public extension Article { public extension Article {
static let allowedTags: Set = ["b", "bdi", "bdo", "cite", "code", "del", "dfn", "em", "i", "ins", "kbd", "mark", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "small", "strong", "sub", "sup", "time", "u", "var"] static let allowedTags: Set = ["b", "bdi", "bdo", "cite", "code", "del", "dfn", "em", "i", "ins", "kbd", "mark", "q", /* "rb", "rp", "rt", "rtc", "ruby", */ "s", "samp", "small", "strong", "sub", "sup", "time", "u", "var"]
func sanitizedTitle(forHTML: Bool = true) -> String? { func sanitizedTitle(forHTML: Bool = true) -> String? {
guard let title = title else { return nil } guard let title = title else { return nil }