Skip to content

docs: clarify escaping with Parser filters - #10594

Merged
michalsn merged 1 commit into
codeigniter4:developfrom
michalsn:docs/parser-filter-escaping
Oct 1, 2026
Merged

michalsn merged 1 commit into
codeigniter4:developfrom
michalsn:docs/parser-filter-escaping

Conversation

@michalsn

Copy link
Copy Markdown
Member

Description
This PR clarifies that the Parser does not add esc automatically when a substitution uses filters, consistent with existing Parser tests that expect HTML output from filters such as nl2br and highlight. Adds examples of where to place esc and notes that unknown filters are ignored.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@carson-codeigniter4 carson-codeigniter4 Bot added the documentation Pull requests for documentation only label Sep 30, 2026
@michalsn
michalsn force-pushed the docs/parser-filter-escaping branch from aa77517 to ab69702 Compare October 1, 2026 13:56
@michalsn
michalsn merged commit 6274001 into codeigniter4:develop Oct 1, 2026
7 checks passed
@michalsn
michalsn deleted the docs/parser-filter-escaping branch October 1, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants