diff --git a/functions/dialogs.sh b/functions/dialogs.sh
index e77b65f7..00393287 100644
--- a/functions/dialogs.sh
+++ b/functions/dialogs.sh
@@ -170,7 +170,7 @@ changelog_dialog() {
     local version_changelog=$(xml sel -t -m "//release[@version='$1']/description" -v . -n $rd_appdata | tr -s '\n' | sed 's/^\s*//')
 
     echo -e "In RetroDECK version $1, the following changes were made:\n$version_changelog" > "/var/config/retrodeck/changelog-partial.txt" 
-    $version_changelog >> "/var/config/retrodeck/changelog-partial.txt"
+    "$version_changelog" >> "/var/config/retrodeck/changelog-partial.txt"
 
     zenity --icon-name=net.retrodeck.retrodeck --text-info --width=1200 --height=720 \
     --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \