DEV: Fix a function name typo

This commit is contained in:
Jarek Radosz 2020-07-27 11:22:57 +02:00
parent 15e9057ec5
commit 223b6d17bf
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { parseBBCodeTag } from "pretty-text/engines/discourse-markdown/bbcode-block";
function tokanizeBBCode(state, silent, ruler) {
function tokenizeBBCode(state, silent, ruler) {
let pos = state.pos;
// 91 = [
@ -162,7 +162,7 @@ export function setup(helper) {
const ruler = md.inline.bbcode.ruler;
md.inline.ruler.push("bbcode-inline", (state, silent) =>
tokanizeBBCode(state, silent, ruler)
tokenizeBBCode(state, silent, ruler)
);
md.inline.ruler2.before("text_collapse", "bbcode-inline", processBBCode);