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
Wrongly formated css somehow hangs up the CssCommentRegex Replace method.
We had someone who linked to a css file which was actually a renamed photoshop file. We don't know what made the Regex hang / stop responding.
File: CssParser.cs
Line: 122
Content: string temp = CssCommentRegex.Replace(s, "");
Wrongly formated css somehow hangs up the CssCommentRegex Replace method.
We had someone who linked to a css file which was actually a renamed photoshop file. We don't know what made the Regex hang / stop responding.
We changed the line with the following:
(added to the top of the file: using System;)
Another approach to safelly MoveCssInline is to run using Task.Run with a timeout.
The text was updated successfully, but these errors were encountered: