Documentation

TidySubscriber 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
inheritDoc
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
Tags
noinspection

HttpUrlsUsage

noinspection

PhpUnused


        
On this page

Search results