From c4c84413ce4707220da193a59634dc8e0c2cb5b7 Mon Sep 17 00:00:00 2001 From: Gunnar Hjalmarsson Date: Wed, 8 Feb 2023 22:06:53 +0100 Subject: Use --no-markup option in zenity call LP: #1887252 --- debian/config-error-dialog.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/config-error-dialog.sh b/debian/config-error-dialog.sh index 081fbb63..5ede998e 100644 --- a/debian/config-error-dialog.sh +++ b/debian/config-error-dialog.sh @@ -17,7 +17,11 @@ PARA1=$(eval_gettext 'Error found when loading $CONFIG_FILE:') PARA2=$(gettext 'As a result the session will not be configured correctly. You should fix the problem as soon as feasible.') -TEXT="$PARA1\n\n$(fold -s $ERR)\n\n$PARA2" +TEXT="$PARA1 + +$(fold -s $ERR) + +$PARA2" if [ -x /usr/bin/kdialog ]; then TEXT_FILE=$(mktemp --tmpdir config-err-kdialog-XXXXXX) @@ -25,5 +29,5 @@ if [ -x /usr/bin/kdialog ]; then kdialog --textbox "$TEXT_FILE" 500 300 rm -f "$TEXT_FILE" elif [ -x /usr/bin/zenity ]; then - zenity --warning --no-wrap --text="$TEXT" + zenity --warning --no-wrap --no-markup --text="$TEXT" fi -- cgit v1.2.1