style-merge icon indicating copy to clipboard operation
style-merge copied to clipboard

Outlook Conditional Comment block - URL rendering issue

Open vladsandu opened this issue 3 years ago • 0 comments

There is an issue rendering URL Query parameters that are inside of an Outlook Conditional Comment block.

Input:

<!--[if mso]>
   <a href="https://test.com?key1=value--123"></a>
<![endif]-->

Output:

<!--[if mso]>
   <a href="https://test.com?key1=value- -123"></a>
<![endif]-->

Note the additional space in the query parameter. This breaks URLs when rendering on desktop Outlook clients.

vladsandu avatar May 04 '21 13:05 vladsandu