Fixed the bug that xref label does not display

Escaped the apostrophe character in the xref label before it is rendered to javascript