Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Grammar #32

Open
OliverJAsh opened this issue Feb 3, 2014 · 3 comments
Open

Grammar #32

OliverJAsh opened this issue Feb 3, 2014 · 3 comments

Comments

@OliverJAsh
Copy link
Contributor

No description provided.

@theefer
Copy link
Contributor

theefer commented Apr 25, 2014

Could do with a bit more details, if only what the top-level goal is :-)

@mitar
Copy link
Contributor

mitar commented Apr 26, 2014

I am not sure if we really need grammar, we could probably get far enough if we would be able to specify allow and deny rules with jQuery queries. For example, you could list:

ul ul
li li

And that would delete all uls which happen under ul. And same for li.

The issue I think is not how to detect wrong content, but how to transform that into the wanted content. So you do not really want to remove all nested lists, but you could probably want to flatten them into one layer. Or transform them into <p>s.

@katebee
Copy link
Contributor

katebee commented Mar 18, 2017

Does anyone have a bit more information on this issue, and could we break it down into smaller issues?

If not, can I close this for now? 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants