Skip to content

Commit

Permalink
fix: Remove excessive spaces (#531) (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroLitvinov authored Mar 11, 2022
1 parent ffbe35b commit 38eb902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_text_ckeditor/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _render_plugin(obj, match):

def plugin_tags_to_db(text):
def _strip_plugin_content(obj, match):
return plugin_to_tag(obj)
return plugin_to_tag(obj).strip()
return _plugin_tags_to_html(text, output_func=_strip_plugin_content)


Expand Down

0 comments on commit 38eb902

Please sign in to comment.