diff options
Diffstat (limited to 'plugins/data/data_history.lua')
-rw-r--r-- | plugins/data/data_history.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/data/data_history.lua b/plugins/data/data_history.lua index 78a43e1fd5e..2671d5a065d 100644 --- a/plugins/data/data_history.lua +++ b/plugins/data/data_history.lua @@ -119,6 +119,7 @@ local function init() end, text = function(text, cdata) if lasttag == "text" then + text = text:gsub("\r", "") -- strip crs stmt = db.prepare("INSERT INTO \"" .. file .. "\" VALUES (?)") db.check("inserting values") stmt:bind_values(text) |