Skip to content

Commit

Permalink
allow to override title property on link parsing (quantizor#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckanthony committed Mar 13, 2019
1 parent 389572b commit 29a4b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ export function compiler(markdown, options) {
return createElementFn(
getTag(tag, options.overrides),
{
...overrideProps,
...props,
...overrideProps,
className:
cx(props && props.className, overrideProps.className) || undefined,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "An unwarpped version of orginal markdown-to-jsx.",
"homepage": "https://probablyup.github.io/markdown-to-jsx",
"license": "MIT",
"version": "6.9.1a",
"version": "6.9.2a",
"engines": {
"node": ">= 4"
},
Expand Down

0 comments on commit 29a4b4c

Please sign in to comment.