bb-ruby
bb-ruby copied to clipboard
Broken links (www.example.com)
Automated detected links beginning with www are missing the http://. Example:
Test www.example.com Test
will produce this:
Test <a href="www.example.com">www.example.com</a>
This would be correct:
Test <a href="http://www.example.com">www.example.com</a>
The Problem is in lib/bb-ruby.rb line 147 and following. Its one Regex for links with and without the leading http(s)
Not sure this is a bug, as we are simply mimicking the original source material, but I see no reason why we can't clean up the source in this case.
Can you submit a pull request with a patch and test cases and I'll yank it in and issue a new build.
Thanks