Is it common to give to a translator a XLIFF which contains HTML?
Do CAT tools support HTML tags properly?
<trans-unit id="1" xml:space="preserve">
<source>This is <b>bold</b></source>
</trans-unit>
Update:
I'm working on an HTML5 WYSIWYG editor with widgets, and we need to have an export for translation feature.
Have a look at the XLIFF 1.2 Presentation Guide for HTML.
Ideally you need to encapsulate the HTML elements in XLIFF elements like this:
<g id='d' ctype='bold'>bold</g>
.Most CAT tools support all the native XLIFF elements but will treat escaped HTML as plain text, which is likely to cause issues.