kennygrant / sanitize

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

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

Closed tabacco closed 7 years ago

tabacco commented 7 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 7 years ago

Thanks for the fix