Skip to content

Commit

Permalink
normalized html case in mdhandler (non-semantic change)
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed Nov 14, 2023
1 parent 80ac771 commit e50e6d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .mdhandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@

ob_start("ob_gzhandler");

echo "<!DOCTYPE html>\n<HTML lang=\"en\">\n<HEAD>\n";
echo "<LINK REL=\"stylesheet\" HREF=\"$stylesheet\">\n";
echo "<TITLE>".basename($_SERVER['REQUEST_URI'])."</TITLE>\n";
echo "</HEAD>\n<BODY>\n<DIV class='box'>\n";
echo "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n";
echo "<link rel=\"stylesheet\" href=\"$stylesheet\">\n";
echo "<title>".basename($_SERVER['REQUEST_URI'])."</title>\n";
echo "</head>\n<body>\n<div class='box'>\n";

ob_start(function($buffer) {
return (new Parsedown())->toHtml($buffer);
Expand All @@ -72,6 +72,6 @@

ob_end_flush(); // markdown

echo "\n</DIV>\n</BODY>\n</HTML>\n";
echo "\n</div>\n</body>\n</html>\n";

ob_end_flush(); // ob_gzhandler

0 comments on commit e50e6d7

Please sign in to comment.