mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5946] [Issue]: Lorebook entry names with apostrophes or punctuation are not escaped correctly #3289
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5946
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Lorebook Keeper sometimes fails to properly escape apostrophes and other punctuation when naming Lorebook entries.
Expected behavior
Lorebook entry names containing apostrophes or other punctuation should be accepted and escaped correctly.
Actual behavior
Some Lorebook entry names containing apostrophes or other punctuation fail because the characters are not escaped properly.
Steps to reproduce
Environment
Logs, screenshots, or video
Screenshot attached: https://cdn.discordapp.com/attachments/1545951173151031356/1546682405409267752/image.png?ex=6aa0abbd&is=6a9f5a3d&hm=3b00494cabbdbc958580e72c8f2124049b484d1a5684ff9b356d5d9843bfe945
Additional context
The reporter noted that Lorebook Keeper now appears to edit the applied Lorebook correctly, but this punctuation-escaping issue is occurring as a new problem. Build: 2.4.5+1cf7c57cec0c; Commit:
1cf7c57cec.Discord message: Discord message from DSBwizzard
Discord message link: https://discord.com/channels/1417099416812392641/1545951173151031356/1546682405644009512
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
Discord message transcript (1 message)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 8, 2026):
@SpicyMarinara (Codex) is handling this issue in the maintainer-requested Issue Sweep PR #5962. Existing implementation PRs, draft PRs and issue-linked branches were checked before starting. The fix will reuse existing code and include focused regression proof; this comment records ownership, not completion.