Correct number of chars to replace

This change will properly support auroracoin:// URLs  in web pages.