FIX: [code] blocks with # headers within
This commit is contained in:
@@ -99,7 +99,7 @@ Discourse.Dialect.replaceBlock({
|
||||
stop: '[/code]',
|
||||
|
||||
emitter: function(blockContents) {
|
||||
return ['p', ['pre'].concat(blockContents)];
|
||||
return ['p', ['pre'].concat(blockContents.join("\n"))];
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user