fixed: apos in custom link not encoded