Skip to content

HTML elements in Node name render incorrectly #76

Open
@tylere

Description

It is great that the Node widget accepts some HTML strings, which allows one to do simple text formatting (bold, italics, color) to improve readability. For example:
image

However, HTML elements that change the vertical placement of the text do not render as expected:

image

I would expect that the vertical placement of the Node icon would line up with the HTML text, and that the height of Nodes would change so that the text of Nodes would not overlap.

Notebook to reproduce: ipytree_html_bug.ipynb.txt

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions