diff --git a/src/Event/HtmlFilterEvent.php b/src/Event/HtmlFilterEvent.php
index d2bfbf19c4..12df8f78b8 100644
--- a/src/Event/HtmlFilterEvent.php
+++ b/src/Event/HtmlFilterEvent.php
@@ -14,13 +14,13 @@ namespace Friendica\Event;
*/
final class HtmlFilterEvent
{
- public const HEAD = 'html.head';
+ public const HEAD = 'friendica.html.head';
- public const FOOTER = 'html.footer';
+ public const FOOTER = 'friendica.html.footer';
- public const PAGE_CONTENT_TOP = 'html.page_content_top';
+ public const PAGE_CONTENT_TOP = 'friendica.html.page_content_top';
- public const PAGE_END = 'html.page_end';
+ public const PAGE_END = 'friendica.html.page_end';
private string $name;
diff --git a/tests/Unit/Event/HtmlFilterEventTest.php b/tests/Unit/Event/HtmlFilterEventTest.php
index 183c13c727..819aef6e45 100644
--- a/tests/Unit/Event/HtmlFilterEventTest.php
+++ b/tests/Unit/Event/HtmlFilterEventTest.php
@@ -17,10 +17,10 @@ class HtmlFilterEventTest extends TestCase
public static function getPublicConstants(): array
{
return [
- [HtmlFilterEvent::HEAD, 'html.head'],
- [HtmlFilterEvent::FOOTER, 'html.footer'],
- [HtmlFilterEvent::PAGE_CONTENT_TOP, 'html.page_content_top'],
- [HtmlFilterEvent::PAGE_END, 'html.page_end'],
+ [HtmlFilterEvent::HEAD, 'friendica.html.head'],
+ [HtmlFilterEvent::FOOTER, 'friendica.html.footer'],
+ [HtmlFilterEvent::PAGE_CONTENT_TOP, 'friendica.html.page_content_top'],
+ [HtmlFilterEvent::PAGE_END, 'friendica.html.page_end'],
];
}