We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18d0871 + b111a28 commit 8476fa7Copy full SHA for 8476fa7
1 file changed
Sources.UIBuilder/UISchema/Entities/Schema.RichText.swift
@@ -57,7 +57,7 @@ extension Schema.TextAttributes? {
57
58
extension Schema.Localizer {
59
func urlIfPresent(_ value: String) -> String? {
60
- if let _ = URL(string: value) { return value }
+ if let url = URL(string: value), url.scheme != nil { return value }
61
guard let item = localization?.strings?[value] else {
62
return nil
63
}
0 commit comments