Skip to content

Commit b1c9099

Browse files
committed
✨ IMPROVE: Bring colon_fence inline with fence
Update inline with: executablebooks/markdown-it-py@bb6cf6e
1 parent a85ada1 commit b1c9099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mdit_py_plugins/colon_fence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from markdown_it import MarkdownIt
2-
from markdown_it.common.utils import escapeHtml, stripEscape, unescapeAll
2+
from markdown_it.common.utils import escapeHtml, unescapeAll
33
from markdown_it.rules_block import StateBlock
44

55

@@ -106,7 +106,7 @@ def _rule(state: StateBlock, startLine: int, endLine: int, silent: bool):
106106
state.line = nextLine + (1 if haveEndMarker else 0)
107107

108108
token = state.push("colon_fence", "code", 0)
109-
token.info = stripEscape(params)
109+
token.info = params
110110
token.content = state.getLines(startLine + 1, nextLine, length, True)
111111
token.markup = markup
112112
token.map = [startLine, state.line]

0 commit comments

Comments
 (0)