Add <var> and <dfn> to italicized tags
This commit is contained in:
parent
7297bf837d
commit
62737bd94f
|
@ -106,7 +106,7 @@ extension NSAttributedString {
|
|||
switch forTag {
|
||||
case "b", "strong":
|
||||
self = .bold
|
||||
case "i", "em", "cite":
|
||||
case "i", "em", "cite", "var", "dfn":
|
||||
self = .italic
|
||||
case "sup":
|
||||
self = .superscript
|
||||
|
|
Loading…
Reference in New Issue