Skip to content

HTML Label not applying Bold or Italics on iOS #20372

Open
@crobibero

Description

@crobibero

Description

Attempting to display Bold or Italics text on iOS (17.0) just displays the text as normal. Android works as expected.

image

Steps to Reproduce

<Label TextType="Html">
    <Label.Text>
        <![CDATA[
            <strong>Bold Text</strong><br>
            <em>italics</em><br>
            <ul>
              <li>Item 1</li>
              <li>Item 2</li>
            </ul>
        ]]>
    </Label.Text>
</Label>

Link to public reproduction project repository

https://github.com/crobibero/maui-html-styling

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms, Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions