Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Double brackets in footnotes

+1
−0

While typing the initial draft of a post, or editing an existing post, footnotes appear in the preview in superscript in square brackets, like this:

Footnote with single square brackets during editing

However, after saving the post, the footnotes appear in superscript in double square brackets, like this:

Footnote with double square brackets after saving

Am I correct in assuming that the double square brackets are unintentional, and that the appearance in the preview during editing is the desired format?

Examples


(Note that the functionality is working fine - clicking on the superscript footnote label takes you to the footnote, and clicking on the return link at the end of the footnote takes you back to where you were reading - in both preview and saved post.)


  1. A footnote as an example (this showed above with single square brackets in the edit preview) ↩︎

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

regression? (8 comments)

1 answer

+1
−0

This should be fixed now, but it's complicated and I'm just going to quote a bit from the pull request:

Note: This will result in footnotes that currently only have one pair of brackets having none. Unfortunately, this is an inconsistency in the HTML itself which cannot be corrected except by editing. I believe that this is because in the past, we had inconsistency in whether the server-side or client-side code would render post's to markdown, as has been noted before. Since we have moved to client-side rendering, inconsistencies should no longer be an issue going forward.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Even the old non-fixed cases have no square brackets rather than double (1 comment)

Sign up to answer this question »