Skip to content

Commit 56fb8f9

Browse files
🐛Fix 세미콜론 곱 연산 제거2
1 parent b4d4aec commit 56fb8f9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/mathfusion/domain/ai/rendering/SwitchSvgService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ private String renderLatexToSvg(String latex) {
9595
.replace("font-family:'cmmi10'", "font-family:'Noto Sans Symbols', 'DejaVu Sans', sans-serif")
9696
.replace("font-family:'cmsy10'", "font-family:'Noto Sans Symbols', 'DejaVu Sans', sans-serif")
9797
.replace("font-family:'cmex10'", "font-family:'Noto Sans Symbols', 'DejaVu Sans', sans-serif")
98-
.replace("−", "-");
98+
.replace("−", "-")
99+
.replace(";", " ");
99100

100101
return svg;
101102
} catch (Exception e) {

0 commit comments

Comments
 (0)