A chain of fragments.
Strictly speaking, an XhtmlString property is, in fact, a string at heart. But it is a string made up of special segments that must be interpreted. These segments are more accurately known as Fragments, each of which are instances of IStringFragment
. These snippets represent a number of things that an editor can embed inside an XhtmlString:
HTML/static text: The plain old text is rendered in StaticFragments
. These snippets are not necessarily full HTML, but substrings of HTML. A static fragment can stop at the beginning of an href attribute value, if the link in that href is a permalink. These fragments, for the most part, do not require special processing.