Bug 1101158 - Use shared tagged template library for escaping card content

https://bugzilla.mozilla.org/show_bug.cgi?id=1101158