From e07678a77d296e66fa891a9d4d08acc4471d1783 Mon Sep 17 00:00:00 2001 From: Tibor Bodecs Date: Tue, 15 Mar 2022 16:14:10 +0100 Subject: [PATCH] self -> default --- Sources/SwiftHtml/Attributes/Target.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"