Spans as an HTML fragment for a renderer that speaks HTML text, which is what the ui's RichLabel
is. Emphasis, colour and size all render - HTMLText's dialect is real CSS, so a color/size
span becomes a <span style="..."> wrapper - and the text is escaped, so a < b can never turn
into a tag. An image span renders as nothing here: HTMLText has no inline-image primitive, so a
caller that wants the image drawn positions a sprite itself, at the position layoutMarkupLines
reports for that span.
Spans as an HTML fragment for a renderer that speaks HTML text, which is what the ui's
RichLabelis. Emphasis, colour and size all render -HTMLText's dialect is real CSS, so acolor/sizespan becomes a<span style="...">wrapper - and the text is escaped, soa < bcan never turn into a tag. An image span renders as nothing here:HTMLTexthas no inline-image primitive, so a caller that wants the image drawn positions a sprite itself, at the positionlayoutMarkupLinesreports for that span.