mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
fix bug where error in unification would cause mathjax not rendering
This commit is contained in:
parent
5265439b62
commit
1d8a01fc02
@ -193,11 +193,11 @@ public class LatexCreatorConstraints implements StepVisitor {
|
||||
latex.append(UNIFY + PAREN_LEFT + LATEX_CURLY_LEFT);
|
||||
}
|
||||
for (int i = unificationConstraints.size() - 1; i >= 0; i--) {
|
||||
latex.append(AMPERSAND);
|
||||
if (markError && i == 0) {
|
||||
latex.append(COLOR_RED);
|
||||
latex.append(CURLY_LEFT);
|
||||
}
|
||||
latex.append(AMPERSAND);
|
||||
latex.append(new LatexCreatorType(unificationConstraints.get(i).getFirstType()).getLatex());
|
||||
if (markError && i == 0) {
|
||||
latex.append(CURLY_RIGHT);
|
||||
|
Loading…
Reference in New Issue
Block a user