Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

URL markdown is different and not compatible in tables vs outside of tables


#1

Any URL expressed in markdown containing & will get replaced with & when it is used within a table cell. The link no longer works properly inside a table, but does outside of one.

I’m using this for Sharepoint links, complex formatted URLs when citing pages. Recent version of Chrome.

Perhaps this is Microsoft’s fault for not serving pages properly or Google’s fault for not parsing the URL in a similar manner, but nonetheless they behave differently. How can I get ampersand in URL to work correctly while used in a markdown table? Can something be done by Gurock?

Example:
URL = https://sharepoint.com/a.aspx?sourcedoc={hi}&action=edit

Outside table:
[This is my link](https:/sharepoint.com/a.aspx?sourcedoc={hi}&action=edit...)
–> Works - shows up in Chrome as exact match

Inside table:
||[This is my link](https:/sharepoint.com/a.aspx?sourcedoc={hi}&action=edit...)|
–> Broken - shows up in Chrome as https:/sharepoint.com/a.aspx?sourcedoc={hi}&action=edit...


#2

Hello Steve,

Thanks for your posting! The table cells only support a limited set of Markdown features (links and fixed-font text) but we will make sure to review this behavior. It looks like this is more of a Markdown formatting issue rather than a browser issue and we look into it for the upcoming 5.2. Thanks for reporting this!

Cheers,
Tobias


#3

This is still an issue, any update? Any chance there is a workaround?


#4

Hi Evangelos,

Thank you for the post. I did a quick test to see if this still happens and it appears that the URL being referenced is rendered correctly. I would recommend giving this a try as well.


#5

Well it’s definitely happening for us. Has this been fixed in one of the latest versions? We are still on 5.2.0.3452


#6

We testest on 5.3 as well and same behaviour. & still becomes “& amp;” (without the space there)

Again, this is only inside tables.


#7

Hi Evangelos,

Thank you for the post. I went back to make sure this is working. I used the code you posted above.

As you can see, the link is being rendered correctly. This is on TestRail Cloud which is running version 5.3.0.3603. Could you please post screenshots of what you are seeing?