I'm testing that the same options that are passed here are also passed to replaceLinks