From 755c6978285eca7faa2891baa42bd920a8fc517f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 2 Jun 2024 21:50:09 -0400 Subject: feat: remove _blank targets for accessibility Users decide whether links open in new tabs! --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 3d0a8b3..5996fca 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ if (empty($page)) { } else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) { $script = file_get_contents("./posts/$page.php"); $re = '/([^\(<>\)]*)\(([0-9])\)<\/code>/m'; - $subst = '$1($2)'; + $subst = '$1($2)'; $script = preg_replace($re, $subst, $script); eval("?>$script