diff options
| author | 2021-05-30 20:25:37 +0200 | |
|---|---|---|
| committer | 2021-05-30 13:25:37 -0500 | |
| commit | 97bd2d20df06d3d134897750a4031e6ed739caf3 (patch) | |
| tree | cfee5a8305476dd485443a9f2dd40834647b89cd /plugins | |
| parent | 2c11de3f1ac94ab77cb18abdd614bad3a8746b06 (diff) | |
Strip CRs from history.xml (#8115)
Diffstat (limited to 'plugins')
| -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) |
