vidarh / diagram-tools

A number of small tools for generating and manipulating diagrams, mostly based around Graphviz
http://www.hokstad.com/tag/graphviz
MIT License
110 stars 14 forks source link

HTML-type labels get knocked out by notugly.xsl #10

Open dankamongmen opened 2 years ago

dankamongmen commented 2 years ago

I'm using notugly.xsl on a dot source file you can find at

https://github.com/dankamongmen/openscad-models/blob/master/schwarz.dot

everything was working alright until I started using some HTML labels. At that point, the content of the HTML labels is blanked in notugly.xsl output.

before:

outbefor

after:

out

dankamongmen commented 2 years ago

it also seems to have stripped the color from that doubleoctagon

vidarh commented 2 years ago

Hi, thanks for this. Looking at it, I'm guessing the text is there but has ended up white on white background. Likely a relatively easy fix - I'll have a look as soon as I get a chance.

dankamongmen commented 2 years ago

awesome, i wasn't sure if you were still maintaining this useful tool (i've been using it for over a decade!). please take your time. i'll be able to test your fix for you.

vidarh commented 2 years ago

Finally had a chance to start looking at it. I've spotted a few more issues, so I think as a first step I'm going to try to untangle a few test cases from your example.