When using <b> and </b> in a text with a new line \n the bold formatting is not used anymore and </b> is show literally.
Please continue formatting bold after a new line \n. I understand this is caused by correct behaviour of Graphviz. Injecting </b> left of \n and <b> after \n could solved this. Same applies for italic and bolditalic. Using a stack to keep track of text formatting to decide what to inject could be useful.