Keep data-mw attributes for references to avoid parsoid error

Bug: T75119
Change-Id: I86596da48ba9396a565095271b470f3511975549
Merge "Keep data-mw attributes for references to avoid parsoid error"