Sukhwinder Dhillon
ef96037ec5
PluginOutput: Add method return type and visibility to constants
2024-07-24 10:40:08 +02:00
Sukhwinder Dhillon
91b3f81880
PluginOutput: Remove processHtml() method
...
`preg_replace` is sufficient.
2024-07-24 10:37:19 +02:00
Sukhwinder Dhillon
2fefc75552
PluginOutput::render(): Shorten the output by characterLimit before processing it
...
If the shorten output contained (not properly closed) HTML element, it merged the next list-item into the same html tag, because the closing tag was missing.
So we therefor shorten the output by characterLimit before proccessing it
2024-07-24 10:24:27 +02:00
Johannes Meyer
1564c3bbbc
PluginOutput: Limit length to 1000 by default
2024-03-22 12:51:10 +01:00
Johannes Meyer
1390203523
PluginOutput: Automatically detect that an empty string isn't HTML
2022-10-26 09:28:00 +02:00
Yonas Habteab
1795a73a29
Adjust the usage of the changed columns everywhere
2022-06-10 09:23:05 +02:00
Johannes Meyer
1e17c58909
PluginOutput: Transform newlines first and purify HTML afterwards
2022-03-02 09:52:00 +01:00
Yonas Habteab
aefd0e1f7d
Add PHP 7 argument & return type declarations to all member methods
2021-11-03 16:06:59 +01:00
Johannes Meyer
bf972c97ad
PluginOutput: Don't "optimize" two subsequent new lines to one
2021-10-01 09:57:43 +02:00
Johannes Meyer
fea801e075
Introduce utility class PluginOutput
2021-08-20 11:09:58 +02:00