it works again
[pspp] / src / output / ascii.c
index 9a08a893317d656b588696e800ed5d179e001661..0a3f501bb78330926c4e2e2aced4ad869d86e285 100644 (file)
@@ -913,7 +913,13 @@ add_markers (const char *text, const struct table_cell *cell)
   for (size_t i = 0; i < cell->n_subscripts; i++)
     ds_put_format (&s, "%c%s", i ? ',' : '_', cell->subscripts[i]);
   for (size_t i = 0; i < cell->n_footnotes; i++)
-    ds_put_format (&s, "[%s]", cell->footnotes[i]->marker);
+    {
+      ds_put_byte (&s, '[');
+      pivot_value_format (cell->footnotes[i]->marker,
+                          SETTINGS_VALUE_SHOW_DEFAULT,
+                          SETTINGS_VALUE_SHOW_DEFAULT, &s);
+      ds_put_byte (&s, ']');
+    }
   return ds_steal_cstr (&s);
 }