Skip to content

Commit e07678a

Browse files
committed
self -> default
1 parent 0497c23 commit e07678a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftHtml/Attributes/Target.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public enum TargetFrame {
2020
/// Opens the linked document in a new window or tab
2121
case blank
2222
/// Opens the linked document in the same frame as it was clicked (this is default)
23-
case `self`
23+
case `default`
2424
/// Opens the linked document in the parent frame
2525
case parent
2626
/// Opens the linked document in the full body of the window
@@ -32,7 +32,7 @@ public enum TargetFrame {
3232
switch self {
3333
case .blank:
3434
return "_blank"
35-
case .self:
35+
case .`default`:
3636
return "_self"
3737
case .parent:
3838
return "_parent"

0 commit comments

Comments
 (0)