mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-05 17:27:47 +02:00
This reverts commit d5b0ad2cf6.
This commit is contained in:
@@ -22,8 +22,6 @@ class EscapePreprocessor(Preprocessor):
|
||||
)
|
||||
|
||||
elif cell.cell_type == "code":
|
||||
# Remove noqa comments
|
||||
cell.source = re.sub(r'#\s*noqa.*$', '', cell.source, flags=re.MULTILINE)
|
||||
# escape ``` in code
|
||||
cell.source = cell.source.replace("```", r"\`\`\`")
|
||||
# escape ``` in output
|
||||
|
||||
Reference in New Issue
Block a user