Commit 10e7123515a49b4c3f7ad41b7fba4788750c8acb
1 parent
bb5ef546
Exists in
master
and in
29 other branches
Avoid messing up with textile text
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/article.js
... | ... | @@ -110,7 +110,7 @@ jQuery(function($) { |
110 | 110 | var text = $text_element.val(); |
111 | 111 | var $item = $wrapper.children().first(); |
112 | 112 | if ($item.attr('src')) { |
113 | - $text_element.val(text + '!' + $item.attr('src') + '!'); | |
113 | + $text_element.val(text + '!' + $item.attr('src') + "!\n"); | |
114 | 114 | } |
115 | 115 | if ($item.attr('href')) { |
116 | 116 | $text_element.val(text + $item.attr('href')); | ... | ... |