Put ASCII art inline

This commit is contained in:
Salt 2021-01-20 20:10:17 -06:00
parent 8cbddc6afa
commit 91f571a0f5

View File

@ -20,7 +20,7 @@
$dir2 = new DirectoryIterator($fileinfo->getFilename()); $dir2 = new DirectoryIterator($fileinfo->getFilename());
foreach ($dir2 as $fileinfo2) { foreach ($dir2 as $fileinfo2) {
if (!$fileinfo2->isDot()) { if (!$fileinfo2->isDot()) {
printf("<pre id=%s>%s</pre>", $fileinfo2->getFilename(), file_get_contents($fileinfo2->getPathname())); printf("<pre id=%s style=\"display:inline-block;vertical-align:top;\">%s</pre>", $fileinfo2->getFilename(), file_get_contents($fileinfo2->getPathname()));
} }
} }
} }