Skip to content

Commit

Permalink
Added light screen, better markdown preview and more
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Oct 14, 2021
1 parent 268aa29 commit c0a1112
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/Paste.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ export default {
return str;
}
});
this.extraContent = md.render(contents)
const EMPTY_CHAR = ""
this.extraContent = md.render(contents.replaceAll("<br>", "\n"+EMPTY_CHAR+"\n"))
}
}
},
Expand Down

0 comments on commit c0a1112

Please sign in to comment.