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 the following code snippet and highlight mode C# (language-csharp):
stringHTML_FILEPATH="C:/Users/sdkca/Desktop/example.html";// and set it up using fluent notation too
configuration
.SetAllowLocalContent(true).SetPageUri(@"file:///"+HTML_FILEPATH);
Will produce the following result:
The 2 slashes are interpreted as a comment although it's within a string in the SetPageUri method. Neither using .SetPageUri("file://////" + HTML_FILEPATH); (without @ and escaped slashes) seems to help.
It happens in the Test drive website too.
The text was updated successfully, but these errors were encountered:
sdkcarlos
changed the title
Wrong highlighting C# mode : 3 slashes within a string rendered as comment
Wrong highlighting in C# mode : 3 slashes within a string rendered as comment
Jan 30, 2017
Using the following code snippet and highlight mode C# (
language-csharp
):Will produce the following result:
The 2 slashes are interpreted as a comment although it's within a string in the
SetPageUri
method. Neither using.SetPageUri("file://////" + HTML_FILEPATH);
(without@
and escaped slashes) seems to help.It happens in the Test drive website too.
The text was updated successfully, but these errors were encountered: