#84970data-namespace-typo3-fluid doesn't work if no NS defined in <html> tag
Description
With the template below
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en"
data-namespace-typo3-fluid="true">
{test}
</html>
the HTML tag would NOT get removed, because
$matched = preg_match('/<([a-z0-9]+)(?:[^>]*?)\\s+' . $namespacePattern . '[^>]*>/', $templateSource, $matches);
It works in TYPO3 v7.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.