Properly escape messages used in anchors in RC

Change-Id: I6696157e1a3de43223603f4652d3d6e33ecd260a
Merge "Properly escape messages used in anchors in RC"