value-labels: Interpret \n as new-line in value labels.
[pspp-builds.git] / src / ui / gui / psppire-var-store.c
index 2a915afe149d6288a8af80c2ff201712ee63058a..d495bd98dd16d174a72f5ab9d9a211087394b11b 100644 (file)
@@ -753,7 +753,8 @@ text_for_column (PsppireVarStore *vs,
            {
              gchar *const vstr = value_to_text (vl->value, dict, *write_spec);
 
-             return g_strdup_printf (_("{%s,`%s'}_"), vstr, val_lab_get_label (vl));
+             return g_strdup_printf (_("{%s,`%s'}_"), vstr,
+                                      val_lab_get_escaped_label (vl));
            }
          }
       }