Forum:Found A Small Bug In User-Page
1
1
Entering edit mode
11.8 years ago

When I have links at the "right" position of an answer, the link to that post breaks in my "User's activity"-page. If you check the second-post in my user-profile about Assemblathon-data you can see that the link to the original post is missing, when I check out the source:

<a href="ht... in <a href="https://www.biostars.org/p/48812/#48878">Answer:where can I get raw sequencing data...</a>" >Assemblathon 2 data</a>
</td></tr>

it's obvious that the parser somehow mixed both links together. Looks like the markup isn't properly replaced?

meta • 1.2k views
ADD COMMENT
0
Entering edit mode
11.8 years ago

Yes this unfortunately occurs from time to time, it has to do with displaying a shortened post. When a post is shortened the "shortening" step is not markup aware, therefore it can produce invalid markup if the post gets cut at the wrong location. One solution would be to display the original markup rather than the html, but that would make it lose some element. Another good solution is to shorten the resulting html. This is on the todo list:

https://github.com/ialbert/biostar-central/issues/125

ADD COMMENT
0
Entering edit mode

Interesting! Have never seen the GitHub-repo, definitely watching it now. Thanks!

ADD REPLY

Login before adding your answer.

Traffic: 1900 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6