Split filter process into text processing and filtering

Created on 31 October 2012, almost 13 years ago
Updated 18 August 2023, about 2 years ago

Note: This is a braindump issue right now.

- Two phases: Text processing (e.g., DOMDocument) and filtering (processor-specific).
- 1 format has exactly 1 processor + 0-n filters.
- Assume HTML for output, but not for input.
- HTML/DOM processor eliminates HTML corrector filter. (also: HTML5 eliminates or will eliminate HTML corrector filter.)
- Other text processors (e.g., markdown) have their own parsers and security filters.
- Convert URL + Local image + line-break filters into DOM-based filters, eliminating all the buggy PCRE nightmare.
- Text processor has settings, each filter can have settings.
- Simplify format settings UI into vtabs categories Γ  la "Security", "Macros/Replacements", "Enhancements", etc.
- Make processors and filters available outside of Filter module? (e.g., Text field summary, drupal_html_to_text())

Text processors in core:
- HTML/DOM
- Plain-text (all HTML escaped)

Add-on gimmicks:
- Add a HTML/DOM setting to control PHP DOM $formatOutput property (producing pretty HTML).

πŸ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
FilterΒ  β†’

Last updated about 2 months ago

No maintainer
Created by

πŸ‡©πŸ‡ͺGermany sun Karlsruhe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024