Spinning off a new task from T263698#6492289
Parsoid's Cite impl doesn't seem to have the right regexp for handling whitespace chars in ref names
In this snippet below, even the non-visible line break chars should be replaced with a space char. Check out output in a wiki sandbox to see how the core Cite extension handles it.
test<ref name="a b">asdf</ref> blah<ref name="a b" /> test<ref name="a b">qwer</ref> blah<ref name="a b" /> <references />