Commit 7206a60e authored by Andreas Böttger's avatar Andreas Böttger 😬

Merge branch '134-link-zum-pdf-wird-zerstort' into 'development'

Resolve "Link zum PDF wird zerstört"

Closes #134

See merge request !23
parents 128a63e8 3dc1045a
Pipeline #34720 canceled with stages
in 1 minute and 10 seconds
......@@ -128,7 +128,7 @@ build_pages:
lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
export lang
echo "Processing $line"
perl -i -pe 's!(\().*?(abb)!$1/static/studyreader/$ENV{"lang"}/$2!gm' "$line"
perl -i -pe 's!(\().*?\.\.\/(abb)!$1/static/studyreader/$ENV{"lang"}/$2!gm' "$line"
fi
done
)
......@@ -170,7 +170,7 @@ build_pages:
lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
export lang
echo "Processing $line"
perl -i -pe 's!(\().*?(abb)!$1/static/reader/$ENV{"lang"}/$2!gm' "$line"
perl -i -pe 's!(\().*?\.\.\/(abb)!$1/static/reader/$ENV{"lang"}/$2!gm' "$line"
fi
done
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment