mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Regression that removed the ability to quote code
This commit is contained in:
parent
199584824b
commit
49910b860b
@ -754,7 +754,7 @@ Markdown.dialects.Gruber = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Strip off the leading "> " and re-process as a block.
|
// Strip off the leading "> " and re-process as a block.
|
||||||
var input = block.replace( /^> */gm, "" ),
|
var input = block.replace( /^> ?/gm, "" ),
|
||||||
old_tree = this.tree,
|
old_tree = this.tree,
|
||||||
processedBlock = this.toTree( input, [ "blockquote" ] ),
|
processedBlock = this.toTree( input, [ "blockquote" ] ),
|
||||||
attr = extract_attr( processedBlock );
|
attr = extract_attr( processedBlock );
|
||||||
|
Loading…
Reference in New Issue
Block a user