diff --git a/libs/twtxt.php b/libs/twtxt.php index bebbff2..7fd6b70 100644 --- a/libs/twtxt.php +++ b/libs/twtxt.php @@ -506,6 +506,9 @@ function getTwtsFromTwtxtString($url) { $twtContent = str_replace("(#$hash)", '', $twtContent); } + // TODO: Make ?tag= filtering feature + $twtContent = replaceTagsFromTwt($twtContent); + // Interpret the content as markdown $Parsedown = new Parsedown(); $twtContent = $Parsedown->text($twtContent); @@ -515,8 +518,6 @@ function getTwtsFromTwtxtString($url) { //$twtContent = replaceImagesFromTwt($twtContent); //$twtContent = replaceLinksFromTwt($twtContent); - // TODO: Make ?tag= filtering feature - $twtContent = replaceTagsFromTwt($twtContent); // TODO: Get mentions $mentions = getMentionsFromTwt($twtContent); diff --git a/partials/header.php b/partials/header.php index b00d86a..2872c62 100644 --- a/partials/header.php +++ b/partials/header.php @@ -47,6 +47,7 @@ $profile = getTwtsFromTwtxtString($config['public_txt_url']); if($_SESSION['password']=="$password") {*/ // Hacky login ?>