From 666dd639c8f56d98d0c0fcf04ecad1a4c1ae4f98 Mon Sep 17 00:00:00 2001 From: Val Date: Sat, 19 Jun 2021 10:16:21 -0400 Subject: [PATCH] Use `html_inline` instead of `html_block` for inline content --- permalink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/permalink.js b/permalink.js index bea321c..8b1ed44 100644 --- a/permalink.js +++ b/permalink.js @@ -28,7 +28,7 @@ export function legacy (slug, opts, state, idx) { ...Object.entries(opts.permalinkAttrs(slug, state)) ] }), - Object.assign(new state.Token('html_block', '', 0), { content: opts.permalinkSymbol }), + Object.assign(new state.Token('html_inline', '', 0), { content: opts.permalinkSymbol }), new state.Token('link_close', 'a', -1) ]