kennygrant / sanitize

Package sanitize provides functions for sanitizing text in golang strings.
BSD 3-Clause "New" or "Revised" License
334 stars 73 forks source link

Don't require // for the mailto: scheme #21

Closed tabacco closed 6 years ago

tabacco commented 6 years ago

Mailto links have the form <a href="mailto:test@example.com">...</a> with no // after the colon. This removes the // from the expression to make mailto: href attributes work correctly.

kennygrant commented 6 years ago

Thanks for the fix