When including html that has this, the minification does not properly account for this (I believe razor needs the @: on a single line by itself, minifying the html causes an error).
I somehow can't get read access to this repository, but you'll need the following code in StreamReaderExtension.cs to fix this:
When including html that has this, the minification does not properly account for this (I believe razor needs the @: on a single line by itself, minifying the html causes an error).
I somehow can't get read access to this repository, but you'll need the following code in StreamReaderExtension.cs to fix this:
// Replace Razor "@:" (text mode) instances
htmlContents = Regex.Replace(htmlContents, @"@:\s", "{{{TEXT_MODE}}}");
Further below....
htmlContents = htmlContents.Replace("{{{TEXT_MODE}}}", "\r\n@:\r\n");