Skip to content

Commit fe0c902

Browse files
TMHSDigitalclaude
andcommitted
fix(sync): literal regex replacements and script-safe embedded JSON
replace_between now passes a callable to re.sub so backslashes in generated content stay literal instead of crashing or expanding group references. Registry and search-index JSON embedded in script tags escapes <, > and & as unicode escapes so content can never close the block. Writes use LF line endings. Closes #106 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent 7886cbe commit fe0c902

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

0 commit comments

Comments
 (0)