Skip to content
Snippets Groups Projects
Commit 4942b9c3 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "Zitieren eines Bildes in Blubber klappt nicht sauber"

Closes #3671

Merge request studip/studip!2544
parent 4c03b69b
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
}, },
onAnswerComment(comment) { onAnswerComment(comment) {
const quoteContent = comment.content.replace(/\[quote[^\]]*\].*\[\/quote\]/g, '').trim(); const quoteContent = comment.content.replace(/\[quote[^\]]*\].*\[\/quote\]/g, '').trim();
const quote = `[quote=${comment.author['formatted-name']}]${quoteContent}[/quote]\n`; const quote = `[quote=${comment.author['formatted-name']}]${quoteContent} [/quote]\n`;
this.composerText = quote; this.composerText = quote;
}, },
onChangeComment(comment) { onChangeComment(comment) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment