In preparation for #5224
should put resource link inside () not [] this case (spaces before/after link but within parens) is not currently covered