[Bug]: Surrounding whitespace is included when editing chapter names #810

Closed
opened 2026-02-20 01:10:39 -05:00 by deekerman · 1 comment
Owner

Originally created by @Weldawadyathink on GitHub (Dec 5, 2022).

Describe the issue

When editing chapter names, if there is whitespace included before or after the chapter name, it is not removed. The whitespace should be removed.

Steps to reproduce the issue

  1. Open a book
  2. Edit Chapters
  3. Include whitespace in the chapter
  4. Save
  5. Edit again, to confirm whitespace is still present

Audiobookshelf version

v2.2.8

How are you running audiobookshelf?

Docker

Originally created by @Weldawadyathink on GitHub (Dec 5, 2022). ### Describe the issue When editing chapter names, if there is whitespace included before or after the chapter name, it is not removed. The whitespace should be removed. ### Steps to reproduce the issue 1. Open a book 2. Edit Chapters 3. Include whitespace in the chapter 4. Save 5. Edit again, to confirm whitespace is still present ### Audiobookshelf version v2.2.8 ### How are you running audiobookshelf? Docker
deekerman 2026-02-20 01:10:39 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@advplyr commented on GitHub (Dec 18, 2022):

Updated in v2.2.9

@advplyr commented on GitHub (Dec 18, 2022): Updated in [v2.2.9](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.9)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf#810
No description provided.