mirror of
https://github.com/Significant-Gravitas/gravitasml.git
synced 2026-11-07 11:25:57 -10:00
* Initial plan * Implement no_parse filter syntax for preventing recursive parsing Co-authored-by: ntindle <[email protected]> * Add comprehensive test cases for self-closing tags and unmatched tags with no_parse filter Co-authored-by: ntindle <[email protected]> * Merge best features from both no_parse filter implementations Co-authored-by: ntindle <[email protected]> * Apply Black code formatting to fix style issues Co-authored-by: ntindle <[email protected]> * fix: move re import to module level, improve docstrings - Move 'import re' from inline in method to module level - Add docstring explaining underscore→space reversal in _reconstruct_original_tag - Clarify test docstring for token fallback whitespace behavior * fix: update self-closing tag tests for new text-outside-tags validation Tests now expect ValueError when self-closing tags result in text outside of proper tags, aligning with PR #15's stricter validation. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ntindle <[email protected]> Co-authored-by: Nick Tindle <[email protected]>