Add <var> and <dfn> to italicized tags

This commit is contained in:
Nate Weaver 2020-04-30 03:04:51 -05:00
parent 7297bf837d
commit 62737bd94f
1 changed files with 1 additions and 1 deletions

View File

@ -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