mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-11-09 10:13:52 +01:00
refactor: Hide guillemets and add line break after quote
- Guillemets (» «) no longer displayed - styling is sufficient - Added line break after quoted text for better readability - Raw message still contains guillemets for compatibility Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b2418a50d3
commit
5d01f90ba1
1 file changed
+2
-1
@@ -53,7 +53,8 @@ function processQuotes(text) {
|
||||
const quotePattern = /»([^«]+)«/g;
|
||||
|
||||
return text.replace(quotePattern, (_match, quoted) => {
|
||||
return `<span class="quote-text">»${quoted}«</span>`;
|
||||
// Display without guillemets (styling is enough) + line break after
|
||||
return `<span class="quote-text">${quoted}</span><br>`;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user