diff --git a/Sources/SwiftHtml/Attributes/Target.swift b/Sources/SwiftHtml/Attributes/Target.swift index 5ae2540..b02493d 100644 --- a/Sources/SwiftHtml/Attributes/Target.swift +++ b/Sources/SwiftHtml/Attributes/Target.swift @@ -20,7 +20,7 @@ public enum TargetFrame { /// Opens the linked document in a new window or tab case blank /// Opens the linked document in the same frame as it was clicked (this is default) - case `self` + case `default` /// Opens the linked document in the parent frame case parent /// Opens the linked document in the full body of the window @@ -32,7 +32,7 @@ public enum TargetFrame { switch self { case .blank: return "_blank" - case .self: + case .`default`: return "_self" case .parent: return "_parent"