Change all URLs matching a pattern to inline base64 representations.