changed the link rules. 

should fix issues #27 and #25 and also links not being highlighted across lines.