#530: Fix bug where newlines weren't preserved
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Danbooru.Comment.quote_message = function(data) {
|
Danbooru.Comment.quote_message = function(data) {
|
||||||
var blocks = data["body"].match(/\[\/?quote\]|./gm);
|
var blocks = data["body"].match(/\[\/?quote\]|.|\n|\r/gm);
|
||||||
var n = 0;
|
var n = 0;
|
||||||
var stripped_body = "";
|
var stripped_body = "";
|
||||||
$.each(blocks, function(i, block) {
|
$.each(blocks, function(i, block) {
|
||||||
|
|||||||
Reference in New Issue
Block a user