renyard / validity

A Google Chrome extension for validating HTML.
https://chrome.google.com/webstore/detail/bbicmjjbohdfglopkidebfccilipgeif
Apache License 2.0
90 stars 22 forks source link

util.getHost fails if url has a hyphen #8

Closed lukearmstrong closed 13 years ago

lukearmstrong commented 13 years ago

validity.util.getHost("http://www.example.com/") www.example.com

validity.util.getHost("http://www.example-example.com/") www.example

(after fix)

validity.util.getHost("http://www.example-example.com/") www.example-example.com

renyard commented 13 years ago

Thanks. I'll aim to get this into a release later this week.