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.
Possible Markdown rendering issue
I identified a possible Markdown rendering error. In this post, I hyperlinked the last few words. This renders correctly in the preview but not in the actual post.
I’ve tested in a few browsers with same results.
For example, this is supposed to be a link.
I seem to be able to consistently reproduce the issue. Steps taken: Type (don’t copy a paste) a single sentence i …
4y ago
I can confirm Laserkittens findings and reproduce the bug according to his instructions, however there is another detail …
4y ago
Can I do it again with a question mark?
4y ago
Test cases (all look fine in the preview): Link text edited to include period. Link text contains no punctuation. …
4y ago
This post is a test to see if I can duplicate it
4y ago
This post is a test to see if I can duplicate it.
4y ago
Test cases (all look fine in the preview): Link text edited to include period. Link text contains no punctuation. …
4y ago
7 answers
I seem to be able to consistently reproduce the issue. Steps taken:
-
Type (don’t copy a paste) a single sentence into an answer. End the sentence with punctuation (I’ve so far duplicated with a period and a question mark).
-
Select the last few words of the sentence including punctuation.
-
Click the link button in the editor.
-
Paste a link into the dialog.
-
Post the answer.
And just for good measure.
I can confirm Laserkittens findings and reproduce the bug according to his instructions, however there is another detail that might perhaps explain Monicas failure to reproduce the bug.
During my tests, i noticed that the bug only manifests when i immediately click the Save/Post button after inserting the link via the Link button.
After inserting the link via the Link button, the text edit element loses the keyboard input focus. Just setting the input focus back to the text edit element (by clicking on it) before saving/posting was enough to prevent the bug from occuring.
The effect was also observable to me in the preview during editing. The link did not appear in the preview after adding it, but when clicking somewhere into the text edit element, the link appeared in the preview.
(I am using Firefox.)
Test cases (all look fine in the preview):
Link text edited to include period.
Link text contains no punctuation.
What about comma, or exclamation point!
--
Copying text from the other answer to see if who posts it makes a difference (I sure hope not):
This post is a test to see if I can duplicate it.
0 comment threads
Test cases (all look fine in the preview):
Link text edited to include period.
Link text contains no punctuation.
What about comma, or exclamation point!
--
Copying text from the other answer to see if who posts it makes a difference (I sure hope not):
This post is a test to see if I can duplicate it.
--
Another test: following the reproducer instructions in this answer.
--
Another test, as described in this answer.
This post is a test to see if I can duplicate it
This post is a test to see if I can duplicate it.
1 comment thread