mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:03:40 +08:00
minor style change
This commit is contained in:
parent
c4a2e62a95
commit
011d3cf779
|
@ -18,7 +18,8 @@ Discourse.Dialect.on("register", function(event) {
|
|||
@return {Array} the JsonML containing the markup or undefined if nothing changed.
|
||||
@namespace Discourse.Dialect
|
||||
**/
|
||||
dialect.block['github_code'] = function githubCode(block, next) {
|
||||
dialect.block.github_code = function githubCode(block, next) {
|
||||
|
||||
var m = /^`{3}([^\n]+)?\n?([\s\S]*)?/gm.exec(block);
|
||||
|
||||
if (m) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user