From f4aad8a88f4f5a25266d7b4af5fe01f57d3ac6a1 Mon Sep 17 00:00:00 2001
From: pruizf <pabloruizfabo@gmail.com>
Date: Tue, 30 Nov 2021 10:23:14 +0100
Subject: [PATCH] more explorer link tests, now replacement is better

---
 publish.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/publish.sh b/publish.sh
index 07991b0..03f4de9 100755
--- a/publish.sh
+++ b/publish.sh
@@ -20,7 +20,7 @@ sed -i -e 's/"toctitle">MeThAL<\/div>/"toctitle"><a href="https:\/\/methal.pages
 
 #   link to corpus exploration interface in sidebar
 
-sed -i -e 's|\(<li><a href="#_web_presence">Web presence</a></li>\)|\1|<a target="_blank" href="https://methal.eu/ui/" title="Corpus explorer (Opens new tab)">Explore the corpus</a>|g'
+sed -i -e 's|\(<li><a href="#_web_presence">Web presence</a></li>\)|\1\n<a target="_blank" href="https://methal.eu/ui/" title="Corpus explorer (Opens new tab)">Explore the corpus</a>|g'
 
 # read-section
 
-- 
GitLab