2 upvotes, 2 direct replies (showing 2)
View submission: [reddit change] New markdown interpreter!
It looks fine to me...do you know of conditions to cause the sometimes to happen?
Comment by catmoon at 19/12/2011 at 15:57 UTC*
1 upvotes, 0 direct replies
I have no idea. It only happens occasionally even though no changes are made to the sidebar. It hasn't been consistant enough for me to tell if it happens during peak hours only. The subreddit has recently had a surge of traffick that may be causing difficulties although I'm not really sure how Reddit allocates server resources. Here's an image of what it looks like [link][1].
To add to the mystery, some logos randomly will look fine and others will show the duplicates. The problem has also been known to go away for a few days and then re-emerge.
Since we only really see this problem in the sidebar table I figured it might have to do with the new table formatting.
EDIT: Disregard all of this. I've done some more hunting. It appears to be some kind of link indexing problem. All links are formatted with the first link's style. See below/above comment.
Comment by catmoon at 20/12/2011 at 00:56 UTC*
1 upvotes, 0 direct replies
I've figured out some more details about this problem.
I believe that the problem with this interpreter is that it is applying the stylesheet formatting for the first link within a cell to all links within that cell. The same is true for links within one comment.
I'm not a programmer but if I can help you find this bug I will try. Let me know how I can help.
Alright, the problem has got to be somewhere in markdown.c. Right now if I had to make a bet I would say that find_link_ref is always returning the first reference instead of the next one. Any insight?
If separated by a newline the tags are not confused.
So:
[](/MIA) [](/DAL)
would yield two Miami logos but:
[](/MIA) [](/DAL)
would give you a Miami and a Dallas logo.
Also:
[](/MIA) [](/ANYLINKWHATSOEVER)
would give you two Miami logos.