guint i;
GValue *gval;
+ gchar *value;
ZakCgiFormPrivate *priv;
gval = zak_cgi_main_get_stdin_field (priv->zakcgimain, zak_cgi_form_element_get_id (element));
if (gval != NULL)
{
- zak_form_element_set_value (ZAK_FORM_ELEMENT (element), g_value_get_string (gval));
+ value = zak_form_element_unformat (ZAK_FORM_ELEMENT (element), g_value_get_string (gval));
+ zak_form_element_set_value (ZAK_FORM_ELEMENT (element), value);
}
}
}