Skip to content

Commit

Permalink
Formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Aug 3, 2021
1 parent d3ca526 commit bbcb101
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mdit_py_plugins/amsmath/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,4 @@ def amsmath_block(state: StateBlock, startLine: int, endLine: int, silent: bool)

def render_amsmath_block(self, tokens, idx, options, env):
token = tokens[idx]
return (
'<div class="math amsmath">\n'
f"{escapeHtml(token.content)}\n</div>\n"
)
return f'<div class="math amsmath">\n{escapeHtml(token.content)}\n</div>\n'

0 comments on commit bbcb101

Please sign in to comment.