ipytree icon indicating copy to clipboard operation
ipytree copied to clipboard

HTML elements in Node name render incorrectly

Open tylere opened this issue 3 years ago • 0 comments

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

tylere avatar Dec 16 '22 20:12 tylere