[Bug 347349] Failed to set text from markup due to error parsing markup