christianalfoni / christianalfoni/markdown-to-react-components
props.target on links are always new
- Dominant language
- JavaScript
- Stars
- 132
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
If i have this
config:
```
Markdown.configure({
a: ({ children, href, title, target }) => {
console.log(target);
return {children}
},
});
```
and having this in my code
```
```
target is always "new" no matter what the markdown is
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with the Markdown.configure link renderer and the example markdown shown in the report. Trace how the link's target value is produced, then verify that it reflects the markdown input rather than always being "new"; add or update coverage if the repository provides a relevant test entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100