Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 38eb902

Browse files
fix: Remove excessive spaces (#531) (#597)
1 parent ffbe35b commit 38eb902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_text_ckeditor/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _render_plugin(obj, match):
123123

124124
def plugin_tags_to_db(text):
125125
def _strip_plugin_content(obj, match):
126-
return plugin_to_tag(obj)
126+
return plugin_to_tag(obj).strip()
127127
return _plugin_tags_to_html(text, output_func=_strip_plugin_content)
128128

129129

0 commit comments

Comments
 (0)