aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/lib
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-08-10 12:41:47 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-08-10 12:41:47 +0000
commit0f31f705e8f41cbaf212ad52099745d6eaf039d2 (patch)
tree5339b7ac82585348c00fac65da486aeb57b0f7bf /resources/assets/javascripts/lib
parent5b8d54a68cd98f67462b7f2877ac3463ec84a636 (diff)
don't add (purely cosmetic) newline after HTML marker, fixes #2950
Closes #2950 Merge request studip/studip!1985
Diffstat (limited to 'resources/assets/javascripts/lib')
-rw-r--r--resources/assets/javascripts/lib/wysiwyg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/lib/wysiwyg.js b/resources/assets/javascripts/lib/wysiwyg.js
index e36c2f7..b462602 100644
--- a/resources/assets/javascripts/lib/wysiwyg.js
+++ b/resources/assets/javascripts/lib/wysiwyg.js
@@ -25,7 +25,7 @@ const wysiwyg = {
if (this.hasHtmlMarker(text) || text.trim() == '') {
return text; // marker already set, don't set twice
}
- return this.htmlMarker + '\n' + text;
+ return this.htmlMarker + text;
},
getEditor,