aboutsummaryrefslogtreecommitdiff
path: root/blog/posts/post.php
diff options
context:
space:
mode:
authorHannah Isopod <me@bathynomus.xyz>2025-06-13 01:13:52 -0600
committerHannah Isopod <me@bathynomus.xyz>2025-06-13 01:13:52 -0600
commit4ace83da3951c37f18fbb9676542239be4d051ee (patch)
treed079e79bd76cb2575faee5e64de4b44e96477b98 /blog/posts/post.php
parent9b88bf8e5fe84b41918cacca69df191e0de3a7b1 (diff)
various minor changes + blog post
a bunch of minor alterations, of particular import is the new blog post and the IP banning function I added to the guestbook
Diffstat (limited to 'blog/posts/post.php')
-rw-r--r--blog/posts/post.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/blog/posts/post.php b/blog/posts/post.php
index 65d2661..f8ed395 100644
--- a/blog/posts/post.php
+++ b/blog/posts/post.php
@@ -23,7 +23,7 @@ foreach($feed->entry as $entry) {
$pdate = preg_replace('/T.*$/', ' ', $entry->published);
$udate = preg_replace('/T.*$/', ' ', $entry->updated);
$title = $entry->title;
- $descr = $entry->summary;
+ $descr = htmlspecialchars($entry->summary);
} else if($title) {
$nextlink = $entry->link["href"];
$nexttitle = $entry->title;
@@ -73,6 +73,9 @@ foreach($feed->entry as $entry) {
flex-direction: column;
}
}
+ td {
+ display: table-cell !important;
+ }
</style>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/seasonal.php'); ?>
</head>