Fix automatic URL generation in markdown links