Repository navigation
Conversation
Fenced code regex previously matched backticks anywhere within a line, causing extractions containing markdown blocks to be prematurely split and rejected as multiple fenced blocks.
|
Your branch is 1 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
|
Your branch is 7 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
|
Your branch is 12 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
1 similar comment
|
Your branch is 12 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
|
Your branch is 23 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
Description
The fence regex matched triple backticks anywhere inside a line. When extractions contain markdown snippets or code fences,
FormatHandlerwas splitting on backticks inside JSON string values, leading toFormatParseError: Multiple fenced blocks found.This updates
_FENCE_REto require line boundaries (^and$) for opening and closing fences so backticks inside values do not trigger premature fence boundaries.Fixes #581
Bug fix
How Has This Been Tested?
Ran unit tests and added a regression test covering JSON and YAML roundtrips with embedded code fences:
Checklist:
pylintover the affected code.