In MarkDownService::findLinks (and possibly other places) we're using DOMDocument, which is old and doesn't support e.g. the <mark> element. When we get to PHP 8.4 we should use something like Dom\HTMLDocument::createFromString() or DOMDocument::createDocumentFragment which cope with modern HTML.
In MarkDownService::findLinks (and possibly other places) we're using DOMDocument, which is old and doesn't support e.g. the
<mark>element. When we get to PHP 8.4 we should use something like Dom\HTMLDocument::createFromString() or DOMDocument::createDocumentFragment which cope with modern HTML.