fix: single dollar sysmpol
This commit is contained in:
@@ -265,7 +265,7 @@ class GLMResultFormatter:
|
||||
# Formula wrapping
|
||||
if label == "formula":
|
||||
content = content.strip()
|
||||
for s, e in [("$$", "$$"), (r"\[", r"\]"), (r"\(", r"\)")]:
|
||||
for s, e in [("$$", "$$"), (r"\[", r"\]"), (r"\(", r"\)"), ("$", "$")]:
|
||||
if content.startswith(s):
|
||||
content = content[len(s) :].strip()
|
||||
if content.endswith(e):
|
||||
|
||||
Reference in New Issue
Block a user