Hi there, I'm having some trouble with entity_embed's tags and htmLawed. As far as I can tell there is no way to allow arbitrary tags in htmLawed? The entity_embed module uses its own <drupal-entity> tag. Is there any way to allow this? I've tried adding it to elements config and also to spec but no joy.

Comments

tanc’s picture

Issue summary: View changes
alpha2zee’s picture

I am not familiar with the entity_embed module and not sure of what exactly 'entity' means in its context.

The htmLawed filter is recommended to be used as the chronologically last input filter so that it works on truly HTML text. I am guessing that that the action of the entity_embed module goes into play after all filtering, and thus requires intact 'drupal-entity' tags. If this is so, then, you are right that the module will be incompatible with htmLawed. It should be possible to easily modify the htmLawed module to permit compatibility by making the module aware of the 'drupal-entity' tag the way it is currently aware of the tags marking PHP code.

alpha2zee’s picture

Status: Active » Closed (won't fix)