mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-03 07:10:11 +01:00
Lint
This commit is contained in:
parent
00ed878b05
commit
c6ea67bbdb
|
|
@ -262,7 +262,7 @@ def process_markdown_content(string):
|
|||
modified_content = content.replace('*', LATEX_ASTERISK_PLACEHOLDER)
|
||||
return f'\\({modified_content}\\)'
|
||||
|
||||
return match.group(0) # Fallback
|
||||
return match.group(0) # Fallback
|
||||
|
||||
# Make \[ \] LaTeX equations inline
|
||||
pattern = r'^\s*\\\[\s*\n([\s\S]*?)\n\s*\\\]\s*$'
|
||||
|
|
|
|||
Loading…
Reference in a new issue