From a03c21f9fbc3c173592e8d16d86f8fcca53db496 Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Thu, 28 Oct 2021 15:40:23 -0700 Subject: [PATCH] Cleans special chars when rendering store text --- playstore/generate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playstore/generate.sh b/playstore/generate.sh index ccb27de08..2c6be6ed2 100755 --- a/playstore/generate.sh +++ b/playstore/generate.sh @@ -4,7 +4,8 @@ cd "$(dirname "$(realpath "$0")")" function lang_line { name="$1" - grep -F '' "$lang_dir"/strings.xml | sed -e 's/\s*<[^>]*>\s*//g' | head -n 1 + grep -F '' "$lang_dir"/strings.xml | sed -e 's/\s*<[^>]*>\s*//g' | head -n 1 | + sed -e 's/\\"/"/g' -e 's/&/\&/g' } for lang_dir in res/values*; do