mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[exporter] support multiple authors in Nextcloud (#13005)
Some checks are pending
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
Some checks are pending
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:
@@ -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