Put ASCII art inline
This commit is contained in:
@@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user