mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #787] [Issue]: Assistant command parser truncates quoted values and loses newlines #385
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#385
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 @cha1latte on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/787
Originally assigned to: @cha1latte on GitHub.
Summary
Professor Mari's
[update_character]commands mishandle text field values in two ways: double quote characters (") truncate the stored field value, and newline characters are not preserved as actual line breaks in the character card editor.Source: https://discord.com/channels/1417099416812392641/1503831745194360954
Expected behavior
Double quotes inside field values should be stored as normal content without closing or truncating the field value. Newline content submitted through the assistant command should be preserved as actual line breaks when viewed in the character card editor.
Actual behavior
Including a double quote anywhere in the field value truncates the saved value at the first quote and leaves a trailing backslash. For example,
She goes by "The Bread Witch" and everyone knows it.saves onlyShe goes by \.For multi-paragraph content with
\nbetween paragraphs, the card editor either shows literal\ntext or stores the content as one unbroken block with the line breaks stripped.Steps to reproduce
") anywhere in the content, for exampleShe goes by "The Bread Witch" and everyone knows it.\nbetween paragraphs.Marinara Engine version
Not specified.
Install type
Other
OS + version
macOS, exact version not specified.
Browser or app shell
Zen Browser (Gecko) and Safari PWA. Reporter confirmed the same behavior in both.
Screenshots or video
Not a visual/UI issue.
Logs
Not provided.
Additional context
Reporter notes:
"anywhere in the value triggers the truncation."characters are escaped in a way the parser then interprets as the closing field delimiter.') instead of double quotes.Template check