You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using System;
public class Program
{
public static void Main()
{
var converter = new ReverseMarkdown.Converter();
string html = "This a sample <strong>paragraph</strong> from <a href=\"https://www.w3schools.com/html/mov_bbb.mp4\">https://www.w3schools.com/html/mov_bbb.mp4</a>";
string result = converter.Convert(html);
Console.WriteLine(result);
}
}
I expect the output to be as follows:
This a sample **paragraph** from [https://www.w3schools.com/html/mov_bbb.mp4](https://www.w3schools.com/html/mov_bbb.mp4)
Instead it is
This a sample **paragraph** from [https://www.w3schools.com/html/mov\_bbb.mp4](https://www.w3schools.com/html/mov_bbb.mp4)
Not that the URL has a backslash added in front of the _. It seems that there is some escaping going on which is not correct. Any idea why this is happening?
The text was updated successfully, but these errors were encountered:
I have the following code:
I expect the output to be as follows:
Instead it is
Not that the URL has a backslash added in front of the
_
. It seems that there is some escaping going on which is not correct. Any idea why this is happening?The text was updated successfully, but these errors were encountered: