Consider mailto: and tel: valid links in HTML builder. Fixes #1569.
Merge branch '4.0'