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 dbd203d57ad5f1ef227374391b3eb57e8a8cd220
parent 5fbae8ba941472d0ba0c436abb399e08ee7ac257
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 15 Jun 2024 10:17:30 +0200

fix: escape ampersand

Diffstat:
Mbin/git_update_repo_html.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -169,7 +169,7 @@ INJEXP="s/(>Files<\/a>\ \|)/\1 <a href=\"\/${2}\/${3}\/exports.html\">Exports<\/ find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Add Back-Button, Summary page and RSS feed (within title) -INJEXP="s/(<h1>)(${3})(<\/h1>)/\1<a\ href=\"\/${2}\/\">${2}<\/a>\ \/\ <a\ href=\"\/${2}\/${3}\/index.html\">\2<\/a> \/\ <a\ href=\"\/${2}\/${3}\/atom.xml\"\ title=\"RSS\">&#128364;<\/a>\3/" +INJEXP="s/(<h1>)(${3})(<\/h1>)/\1<a\ href=\"\/${2}\/\">${2}<\/a>\ \/\ <a\ href=\"\/${2}\/${3}\/index.html\">\2<\/a> \/\ <a\ href=\"\/${2}\/${3}\/atom.xml\"\ title=\"RSS\">\&#128364;<\/a>\3/" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Replace "git clone" href