Gosora icon indicating copy to clipboard operation
Gosora copied to clipboard

Rewrite parser pipeline

Open Azareal opened this issue 7 years ago • 0 comments

We're probably going to want a single source of truth rather than supporting numerous formats (Markdown, HTML, and BBCode) in plugins and possibly risk markup showing up when one of these plugins is disabled.

The single source of truth, for instance, could be HTML which the WYSIWYG naturally consumes anyway. Each plugin (or possibly even the core) could take in their respective formats and translate that to HTML.

Translating it back on-demand on the client-side for any BBCode Editors (if there are any) shouldn't be too costly in any case.

Azareal avatar Jun 21 '18 06:06 Azareal