Skip to content

Commit

Permalink
Use html_inline instead of html_block for inline content
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Jun 19, 2021
1 parent e241a3b commit 666dd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]

Expand Down

0 comments on commit 666dd63

Please sign in to comment.