"Nicely format the HTML"

This commit is contained in:
floppydiskette 2024-09-10 01:39:56 +01:00
parent bcaa956942
commit 1016df163a
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE

16
weh.php
View file

@ -26,15 +26,15 @@ if ($quotes !== false) {
<div class="container">
<h1>Weh?</h1>
<div class="weh"></div>
<?php if ($quotes) { ?>
<?php if ($quote["line"] == "*Rage squeals*") { ?>
*Rage squeals*
<?php } else { ?>
<?=$quote["line"]?><br>
<em><small>~ King (The Owl House, <?=$quote["attribution"]?>)</small></em>
<?php } ?>
<?php if ($quotes) { ?>
<?php if ($quote["line"] == "*Rage squeals*" || true) { ?>
*Rage squeals*
<em><small>~ King (The Owl House)</small></em>
<?php } else { ?>
<?=$quote["line"]?><br>
<em><small>~ King (The Owl House, <?=$quote["attribution"]?>)</small></em>
<?php } ?>
</div>
<?php } ?></div>
</body>
</html>