mask tweaks, focus follows centroid, gradient/colorpicker rework, no hard edges in...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / filexml.C
index 58a83e9eafe7024f5b4c843c132b020e9d407706..e045a5321b27cec19568cca901113662ebb0d181 100644 (file)
@@ -264,7 +264,7 @@ int XMLTag::write_tag(FileXML *xml)
                const char *prop = properties[i]->prop;
                const char *value = properties[i]->value;
                int plen = strlen(prop), vlen = strlen(value);
-               bool need_quotes = !vlen || strchr(value,' ');
+               bool need_quotes = !vlen || strchr(value,' ') || strchr(value,'\n');
                buf->next(' ');
                xml->append_text(prop, plen);
                buf->next('=');