Skip to content

Commit db99a2b

Browse files
fukataniSub6Resources
authored andcommitted
flutter_html_mat: escape braces
1 parent cb23cf0 commit db99a2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/flutter_html_math/lib/flutter_html_math.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Map<String, String> _mathML2Tex = {
117117
"coth": r"\coth",
118118
"log": r"\log",
119119
"ln": r"\ln",
120+
"{": r"\{",
121+
"}": r"\}",
120122
};
121123

122124
typedef OnMathError = Widget Function(

0 commit comments

Comments
 (0)