-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove square brackets when rendering HTML for footnotes #69
Conversation
My hunch says this should go into the upstream github/cmark repo, because that's where this logic lives. @kivikakk I'm actually not sure, why do we have both a submodule to upstream, as well as all the C files in the ext directory? |
I would love to get this fix into the upstream repo! This would be the most effective fix, since the HtmlRenderer is only used sparsely. re: both submodule and C files, the submodule is used exclusively for fetching the latest upstream source files for copying into the |
Great! It looks to me like the upstream repo needs changes made to |
Have pushed the submodule update to this branch! |
This is in |
Would a |
I don't mind that idea, though it screws with the way the It might be an idea to just explicitly name every source file instead, though there's 64ish of them. |
The current HTML renderer outputs square brackets around footnotes.
This is not consistent with Kramdown's rendering (see Babelmark). I assume that this should be considered a bug given that the purpose of introducing the change was to allow the Cmark renderer to be used in place of Kramdown. It also just looks weird.
Since the bug is in the Cmark project perhaps it would be best to suggest the fix there? Sorry, this is the first time I've tried to do something like this so I'm not sure. I came across the issue when using CommonMarker and so it felt most natural to make the PR to this project.