Skip to content

Commit

Permalink
4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arve0 committed Dec 30, 2021
1 parent 833d55e commit 0f595bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion markdown-it-attrs.browser.js
Expand Up @@ -513,7 +513,8 @@ module.exports = function (options) {
token.nesting = 0;
var content = tokens[i + 1].content;
var start = content.lastIndexOf(options.leftDelimiter);
token.attrs = utils.getAttrs(content, start, options);
var attrs = utils.getAttrs(content, start, options);
utils.addAttrs(attrs, token);
token.markup = content;
tokens.splice(i + 1, 2);
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "markdown-it-attrs",
"version": "4.1.1",
"version": "4.1.2",
"description": "Add classes, identifiers and attributes to your markdown with {} curly brackets, similar to pandoc's header attributes",
"main": "index.js",
"license": "MIT",
Expand Down

0 comments on commit 0f595bd

Please sign in to comment.