mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 23:35:00 +08:00
TinyMCE after image parsing strip description [SCI-8258] (#5253)
This commit is contained in:
parent
1a1956e163
commit
a17a893daf
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ module TinyMceImages
|
|||
image['class'] = 'img-responsive'
|
||||
image_changed = true
|
||||
end
|
||||
self[object_field] = parsed_description.to_html if image_changed
|
||||
self[object_field] = parsed_description.to_html.strip if image_changed
|
||||
end
|
||||
|
||||
def extract_base64_images
|
||||
|
|
Loading…
Reference in a new issue