diff --git a/static/js/newcore.js b/static/js/newcore.js index 30bbed6..b663545 100644 --- a/static/js/newcore.js +++ b/static/js/newcore.js @@ -99,8 +99,7 @@ function errimg() { - // Create the HTML content - const content =
= $photo->i('postbody') ?> | + if ($photo->i('postbody') != null) { ?> += htmlspecialchars($photo->i('postbody')) ?> |