html text subscripts fail
Steps to reproduce
Both svg & png output formats fail to produce proper subscripts on "graphviz version 3.0.1~dev.20220319.1840 (20220319.1840)"
png format is correct for graphiz version 2.43.0,
svg is incorrect for graphiz version 2.43.0,
// from https://forum.graphviz.org/t/keep-nodes-at-their-position/1134
// subscript fails for "dot - graphviz version 3.0.1~dev.20220319.1840 (20220319.1840)"
// subscripts are correct for 2.43.0 & png, incorrect for 2.43.0 & svg
digraph cfg{
node [shape = circle];
color=white;
{ rank=same
1 -> 2 [label = <x-p<SUB>a</SUB>> ]
2 -> 3 [xlabel = <0-p<sub>b</sub>> ]
3 -> 4 [label = <n-p<sub>a</sub>> ]
1:n -> 1:n [label =<Np<sub>a</sub>/x-p<sub>a</sub>> ]
2:n -> 2:n [label =<Np<sub>a</sub>n> constraint=false];
3:nw -> 2:ne [taillabel =<Np<sub>a</sub>n> constraint=false labeldistance=4.0]
4:n -> 4:n [label =<N/x-p<sub>a</sub>>];
4:s -> 2:s [xlabel =<x-p<sub>a</sub>> labeldistance=10]
}
}
Expected Behaviour
Actual Behaviour
OS Version
lsb_release -a No LSB modules are available. Distributor ID: Linuxmint Description: Linux Mint 20.1 Release: 20.1 Codename: ulyssa
Graphviz Version
dot -V dot - graphviz version 3.0.1~dev.20220319.1840 (20220319.1840)