Export (0) Print
Expand All CONTENT HTML Fragment

The CONTENT HTML fragment in an HTMLTAG destination group contains parts of original HTML markup or other text that are not duplicated or significantly transformed in RTF content, such as HTML tags, text that might include HTML character references, and HTML comments.<6>

It is possible that some text in the CONTENT HTML fragment will need to be escaped or converted to RTF control words to produce proper RTF. The following table specifies valid RTF escape tokens and control words that can be used in the CONTENT HTML fragment. A de-encapsulating RTF reader MAY<7> fail to extract the original HTML when other RTF control words are included in the CONTENT HTML fragment.

RTF escape tokens and control words

Corresponding HTML text


%x0D.0A (OCTET sequence CRLF)


%x09 (OCTET form for the horizontal tab character)


%x7B (OCTET form for {)


%x7D (OCTET form for })


%x5C (OCTET form for reverse solidus '\')


"&lsquo;" (Unicode value U+2018)


"&rsquo;" (Unicode value U+2019)


"&ldquo;" (Unicode value U+201C)


"&rdquo;" (Unicode value U+201D)


"&bull;" (Unicode value U+2022)


"&ndash;" (Unicode value U+2013)


"&mdash;" (Unicode value U+2014)


"&nbsp;" (non-breaking space)


"&shy;" (&#173; soft hyphen)


%xHH (OCTET with the hexadecimal value of HH)


"&#xHHHH;" where HHHH is the hexadecimal equivalent of [-]NNNNN (as specified in [MSFT-RTF])


No visual representation in HTML.

© 2014 Microsoft