Escape page title on sharing links
Page title seems to be injected in the sharing links. This needs to be URL-encoded in case there are special characters (like spaces) in the page title. There may also be HTML characters that need to be removed/encoded. As it is currently implemented this causes markup validation errors.
Some of this may affect the title tag output as well (not checked).