mirror of
https://github.com/koreader/koreader.git
synced 2026-12-01 17:53:53 +00:00
[exporter] support multiple authors in Nextcloud (#13005)
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
Fixes #12821.
This commit is contained in:
1 parent
f0a3e1c63a
commit
ca660f3b55
1 file changed
+1
-1
@@ -182,7 +182,7 @@ function NextcloudExporter:export(t)
|
||||
-- export each note
|
||||
for _, booknotes in pairs(t) do
|
||||
local note = md.prepareBookContent(booknotes, markdown_settings.formatting_options, markdown_settings.highlight_formatting)
|
||||
local note_title = string.format("%s - %s", booknotes.author, booknotes.title)
|
||||
local note_title = string.format("%s - %s", string.gsub(booknotes.author, "\n", ", "), booknotes.title)
|
||||
|
||||
-- search for existing note, and in that case use its ID for update
|
||||
note_id = nil
|
||||
|
||||
Reference in new issue
Block a user