pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 1c33c6075c7d75026e044d2c9c8d0ff4ba2e028d
parent 727cb60f9e6bc71b249549dc154d9524765eb270
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Jun 2024 17:56:32 +0200

fix: add spaces and linebreaks

Diffstat:
Mbin/git_update_repo_html.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -65,7 +65,7 @@ SUMR=" ${ACTIVITY_HTML} <p>${RDESC}</p> <hr> - <span>Clone this repository via:</span> + <span>Clone this repository via:</span><br> <a href=javascript:navigator.clipboard.writeText(\"git clone $RURL\");alert(\"git clone $RURL copied to your clipboard\")';> git clone $RURL </a> @@ -97,7 +97,7 @@ INJEXP="s/^(<a\ href=\"\.{0,2}\/*log.html\">)/<a\ href=\"\/${2}\/${3}\/index.htm find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Replace "git clone" href -INJEXP="s/(git\ clone)\ <a href=\"(https:\/\/.*?\.git)\">/<a href='javascript:navigator.clipboard.writeText(\"\1 \2\");alert(\"\1 \2 copied to your clipboard\")';>\1/" +INJEXP="s/(git\ clone)\ <a href=\"(https:\/\/.*?\.git)\">/<a href='javascript:navigator.clipboard.writeText(\"\1 \2\");alert(\"\1 \2 copied to your clipboard\")';>\1 /" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # link assets