// -----------------------------------------------------------------------------------------------
// FIXME: Remove the following line when this code actually starts getting used outside of tests.
fn build_pango_attr_list(session: &Session, formatted_text: &FormattedText) -> pango::AttrList {
// FIXME: here, we need to collapse newlines. See section https://www.w3.org/TR/css-text-3/#line-break-transform
Hello <tspan font-weight="bold">böld</tspan> world <tspan font-style="italic">in italics</tspan>!
LTR<tspan direction="rtl" unicode-bidi="embed" font-style="italic">RTL</tspan><tspan font-weight="bold">LTR</tspan>