Steps to Reproduce:
Inside a File: caption, create a ref tag with a name containing pipes, e.g. <ref name="foo|bar"> or <ref name=foo|bar>
See test cases:
https://en.wikipedia.org/w/index.php?title=User:Jonesey95/sandbox&oldid=1016691750
https://en.wikipedia.org/w/index.php?title=User:Jonesey95/sandbox&oldid=1016692017
Actual Results:
Linter shows a bogus image options error.
Expected Results:
Linter should not show a bogus image options error. It should ignore pipes and other text inside of ref names.