<?php function fn(string $content): string { $dom = new DOMDocument(); $dom->loadHTML($content, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); return $dom->saveHTML($dom->documentElement); } echo fn("<table><h1>Je Suis Une Pizza</h1></table>"); echo "\n"; echo fn("<table>\n<h1>Je Suis Une Pizza</h1></table>"); echo "\n";
You have javascript disabled. You will not be able to edit any code.
There are `0` results