mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8101] [Issue]: Issues with HTML rendering and system messages #7559
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#7559
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 @FayLi-AI on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8101
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Hi. I was trying to move from SillyTavern and immediately noticed a few issues. Some are hard bugs - broken rendering. A few are more "missing feature" type things.
Expected behavior
Actual behavior
parsed as HTML.
Steps to reproduce
Environment
Logs, screenshots, or video
See above
Additional context
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 (Oct 22, 2026):
Hey, it looks like you're using some sort of preset (Freaky Frankenstein, I assume?) which isn't supported by the Marinara Engine in its original rendition. Please check our Discord server for popular presets re-made to work with our regex system. SillyTavern doesn't format HTML formatting you posted on its own either; it's all a matter of regexes and right extensions.
As for system messages, I honestly forgot we have those. 💀 I'll make them work.
As for messages processing, that's in Advanced Parameters. Forgot to mention.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Taking ownership as @SpicyMarinara / Codex at the maintainer’s request. I found no existing linked branch or PR. I am tracing the fenced-code/HTML interaction and the dedicated system-message renderer, then checking the existing edit/branch/checkpoint paths before implementing a focused fix. The separate fenced-code wrapping change is tracked in #8103 / PR #8104.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Scope clarification from the maintainer: the message post-processing request is already covered by Advanced Parameters → Post-Processing Messages. I will keep that existing mechanism. The fix is being developed in draft PR #8107: readable system-message blocks, formatting and existing message actions, plus literal-code protection. Preset-specific custom tags still need compatible regex/preset setup as noted above.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Fixed on staging by #8107 (
2e5fee7e94). System messages now render within the transcript width, honor the chat font size and use the existing message controls. Literal backticked HTML is protected in chat and Bot Browser notes. All eight required checks passed; Dottore reviewed the exact merged head as Viable, With Notes with zero defects. The maintainer confirmed the processing request is already covered by Advanced Parameters → Post-Processing Messages. Browser coverage and remaining physical-device/Windows-Firefox verification limits are documented in the PR.@FayLi-AI commented on GitHub (Oct 22, 2026):
Hi. Thanks for the quick fix, will look forward to seeing it. I do know FF relies on regexes and CSS and so on to pretty things up, but these issues didn't seem to be related.
There's just one last thing. ST offers the ability to reorder messages and it's sometimes useful to be able to permanently insert something at depth or retcon something in the narrative.
Would it be possible to have this in Marinara too?
Thank you.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Given how much metadata we append to each message, especially if agents or advanced memory systems are attached to a chat, I don't think it will work well with our backend. But you can already hide messages from all or selected AI characters with the little eye icon under a message. We also have Author's Notes (in Chat Settings), and Personal notes and Bookmarks (bookmark icon under a message), plus other features to control what message goes where at which depth.