Browse Source

Always insert hr markdown in new line

Ralfp 12 years ago
parent
commit
c540b0531e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/sora/js/editor.js

+ 1 - 1
static/sora/js/editor.js

@@ -120,7 +120,7 @@ $(function() {
   
   $('.editor-hr').click(function() {
       ta = get_textarea(this).attr('id');
-      makeReplace(ta, '- - - - -');
+      makeReplace(ta, '\r\n\r\n- - - - -\r\n\r\n');
       return false;
   });
 });