BUG 47854: Dont treat extensions marker metas as sol-transparent.

* Fixes the bug and the test case: "<ref>foo\n</ref> a"
* No change in parser tests (TODO: Add tests).

Change-Id: I0ef214eb44675d1d90c81fdba4df47b450e55df5