TidySubscriber
in package
implements
EventSubscriberInterface
Class TokenCompatSubscriber
Table of Contents
Interfaces
- EventSubscriberInterface
Methods
- getSubscribedEvents() : array<string|int, mixed>
- tidyHtml() : void
- Cleanup html issues.
Methods
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>tidyHtml()
Cleanup html issues.
public
tidyHtml(TokenRenderEvent $e) : void
Currently we only clean up double https as can be generated by ckeditor in conjunction with a url token - eg https://{action.url} results in https:://https:://example.com.
Parameters
- $e : TokenRenderEvent