mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
requirements: Upgrade markdown to 3.3.1.
Upstream has slightly changed the whitespace around stashes. Take this opportunity to clean up the extra blank lines we were outputting. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
3e8e4b9cad
commit
d81a93cdf3
@@ -51,7 +51,7 @@ export function wrap_code(code, lang) {
|
||||
}
|
||||
// Trim trailing \n until there's just one left
|
||||
// This mirrors how pygments handles code input
|
||||
return header + _.escape(code.replace(/^\n+|\n+$/g, "")) + "\n</code></pre></div>\n";
|
||||
return header + _.escape(code.replace(/^\n+|\n+$/g, "")) + "\n</code></pre></div>";
|
||||
}
|
||||
|
||||
function wrap_quote(text) {
|
||||
|
||||
Reference in New Issue
Block a user