aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/textprocessors/HtmlProcessor.php
blob: c3f691b7a40c8a75099506881d73dce630ee9d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php


namespace r7r\cms\sys\textprocessors;

/**
 * A simple textprocessor that assumes the input already is HTML.
 */
class HtmlProcessor implements Textprocessor
{
    public function apply(string $input): string
    {
        return $input;
    }

    public function showInBackend(): bool
    {
        return true;
    }
}