Commit ae5c4ce4 authored by Harald Sitter's avatar Harald Sitter 💎

don't force append newlines

parent b65034d3
......@@ -335,7 +335,10 @@ ApplicationWindow {
properties: selectorModel.properties,
tags: selectorModel.tags
}
var json = JSON.stringify(needle, null, 2) + "\n"
var json = JSON.stringify(needle, null, 2)
if (!json.endsWith("\n")) {
json += "\n"
}
console.debug(json)
return json
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment