refactor: add tel:
as safe URL protocol
#655
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
NeedsImplementation
Needs implementation
templ: v0.2.648
Currently trying to use this:
templ.URL("tel:" + phoneNumber)
results in:
about:invalid#TemplFailedSanitizationURL
I think this is because it only allows
http
,https
andmailto
, but I thinktel
should be added to this list. It's likemailto
but for telephone numbers, so it will open up a phone application.The text was updated successfully, but these errors were encountered: