diff --git a/plugins/exporter.koplugin/target/my_clippings.lua b/plugins/exporter.koplugin/target/my_clippings.lua index 4ee4d445a..95e0504dd 100644 --- a/plugins/exporter.koplugin/target/my_clippings.lua +++ b/plugins/exporter.koplugin/target/my_clippings.lua @@ -16,19 +16,17 @@ local function format(booknotes) for ___, entry in ipairs(booknotes) do for ____, clipping in ipairs(entry) do if booknotes.title and clipping.text then - table.insert(tbl, booknotes.title) - + local title_str = booknotes.title .. " (" .. (booknotes.author or "Unknown") .. ")" + table.insert(tbl, title_str) local header = T(_("- Your highlight on page %1 | Added on %2"), clipping.page, os.date("%A, %B %d, %Y %I:%M:%S %p", clipping.time)) table.insert(tbl, header) - table.insert(tbl, "") table.insert(tbl, clipping.text) table.insert(tbl, "==========") if clipping.note then - table.insert(tbl, booknotes.title) - + table.insert(tbl, title_str) header = T(_("- Your note on page %1 | Added on %2"), clipping.page, os.date("%A, %B %d, %Y %I:%M:%S %p", clipping.time)) table.insert(tbl, header)