mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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