Fix for bug 1421, now generates URLs that validate, and implemented fix recommended in bug report 1404, to clean up href title tags.