[x] goldmark is fully compliant with the CommonMark. Before submitting issue, you must read CommonMark spec and confirm your output is different from CommonMark online demo.
[x] Extensions(Autolink without <>, Table, etc) are not part of CommonMark spec. You should confirm your output is different from other official renderers correspond with an extension.
[x] goldmark is not dedicated for Hugo. If you are Hugo user and your issue was raised by your experience in Hugo, you should consider create issue at Hugo repository at first .
Please answer the following before submitting your issue:
What version of goldmark are you using? : v1.5.4
What version of Go are you using? : go version go1.20.5 linux/amd64
What operating system and processor architecture are you using? : linux, amd64
What did you do? : used this funtion to open a markdown file:
5. What did you expect to see? : it being handled like `[Basic](javascript:alert('Basic'))` to not allow an alert
6. What did you see instead? : this html:
```html
[...]
<a href="">Basic</a>
<a href="JaVaScRiPt:alert('CaseInsensitive')">CaseInsensitive</a>
Did you confirm your output is different from CommonMark online demo or other official renderer correspond with an extension?: the demo give this html:
goldmark has https://github.com/yuin/goldmark/discussions in github. You should post only issues here. Feature requests and questions should be posted at discussions.
<
>
, Table, etc) are not part of CommonMark spec. You should confirm your output is different from other official renderers correspond with an extension.Please answer the following before submitting your issue:
What did you do? : used this funtion to open a markdown file:
Basic CaseInsensitive
I think goldmarks way of handling basic to be good, but it is not consistent. may be unintentional. full code: https://git.fave.lu/fave/blog