-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Add support for Jinja-style filter syntax that allows users to prevent recursive parsing of tag content.
Feature Request
Users should be able to add a | no_parse filter to tags to stop parsing at that level and treat the inner content as a raw string.
Syntax
<tag | no_parse><inner><content>anything</content></inner></tag>Expected Behavior
Instead of parsing the inner tags recursively, the parser should:
- Recognize the
| no_parsefilter syntax - Collect everything between the opening and closing tags as raw string content
- Attach this raw string as the value for that node
Use Cases
- Preserving HTML/XML content without further processing
- Storing template code or markup as literal strings
- Preventing unwanted parsing of complex nested structures
Implementation Notes
- Should maintain backward compatibility with existing markup
- Filter syntax should be extensible for future filter types
- Consider Jinja-style syntax for familiarity
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels