A basic addition so relative URIs are considered safe when using HTML_SAFELINK. All the tests still passed but if I have missed something then let me know.
This fixes #26
Relative URIs are considered safe
Any chance you could add a test case to cover the change? I realize this is a pretty simple change that is unlikely to cause problems, but I would like to keep the test coverage as complete as possible. I don't think HTML_SAFELINK is tested at all right now.
Yeah of course. I left out the test because I didn't spot anything already testing them but I'm happy to give it a shot.
Tests for links when using HTML_SAFELINK
@russross I finally got round to adding some tests. Hope they are okay with you.