Skip to content

Commit

Permalink
Merge pull request #8027 from fjordllc/bug/textarea_image_format_mark…
Browse files Browse the repository at this point in the history
…down_to_htmltag_url

url をダブルクォーテーションでくくる
  • Loading branch information
komagata authored Aug 23, 2024
2 parents 507edb8 + bc7fede commit 049eff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/textarea-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class {
csrfToken: CSRF.getToken(),
placeholder: '%filenameをアップロード中...',
uploadImageTag:
'<img src=%url width="%width" height="%height" loading="lazy" decoding="async" alt="%filename">\n',
'<img src="%url" width="%width" height="%height" loading="lazy" decoding="async" alt="%filename">\n',
afterPreview: () => {
autosize.update(textarea)

Expand Down

0 comments on commit 049eff4

Please sign in to comment.