xing/wysihtml5 — pull request #79 by mixonic (2012-05-22 16:46:42+00:00)
Title: Add absolute path and href sanitizer options

Howdy!

With tests, this commit adds new `absolute_path` and `href` sanitizer options. I found the `url` option was overly strict, requiring every URL or image src path to have a `/https?:\/\//` start. I'm adding images with `src="/path/is/absolute.gif"`, and there should be a sanitizer that allows that.

I think the `href` option should be the default in the advanced rules as well, but this pull request is conservative and doesn't do that. Let me know if you agree and I can add the commit.

Thanks!