forked from GitHub/gf-core
added a space after the tag in word alignment to work around a graphviz bug shown with Chinese characters
This commit is contained in:
@@ -396,7 +396,7 @@ graphvizAlignment pgf langs exp =
|
||||
renderList ii [] _ = empty
|
||||
renderList ii [l] [] = struct ii <> text "[label = \"" <> fields l <> text "\"] ;"
|
||||
|
||||
fields cs = hsep (intersperse (char '|') [tbrackets (tag id) <> text w | (id,ws) <- cs, w <- ws])
|
||||
fields cs = hsep (intersperse (char '|') [tbrackets (tag id) <> text (' ':w) | (id,ws) <- cs, w <- ws])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user