This project has moved and is read-only. For the latest updates, please go here.

Disable minification rather than throw an exception

I have a method which produces unexpected content type results. Would it be possible to simply disable minification when using MVC attributes rather than it throwing an Exception?

Id #23 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Jul 8, 2016 at 10:22 PM by dustyrah

WebMarkupMin and HTML_PARSING_ERROR

Hello. Can you help to deal with error: I have an action: [HttpGet] [MinifyHtml] public ActionResult GetTariffExtendings(Guid tariffCode) { var model = ... get the model return PartialView("Parti...

Id #22 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Apr 18, 2016 at 1:12 PM by Modex

A Potentially dangerous Request.Form value with [ValidateInput(false)] and [CompressContent]

Hi! Can you help with that problem Have an Action: [HttpPost] [AllowAnonymous] [ValidateInput(false)] [ValidateAntiForgeryToken] [MinifyHtml, CompressContent] public ActionResult Register(Registe...

Id #21 | Release: None | Updated: Apr 11, 2016 at 12:40 PM by Modex | Created: Apr 8, 2016 at 8:51 AM by Modex

Implementation of minification for my whole project

Hello, I am implementing minification for my project. I have made changes as per documentation. Here is my updated web.config file: <configuration> <webMarkupMin xmlns="http://tempuri.org/We...

Id #19 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Aug 24, 2015 at 7:57 AM by Ankita_Patel

How can I disable HTML minification for a particular URL?

I'm using Sitecore CMS on our website. I've noticed that HTML minifier brakes markup which is produced by Sitecore in the administration area. Is there any possibility to disable HTML minifier wh...

Id #18 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Apr 20, 2015 at 10:17 AM by alex_beregovoy

Cache-Control response header is being set to private when using HTML minifier

I have set up the cache control mode to UseMaxAge value. <staticContent> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" /> </staticContent> But when I turn on the HT...

Id #17 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Apr 16, 2015 at 10:51 AM by alex_beregovoy

Minify AngularJS binding expressions causes exception with `ngRepeat`

If I have the MinifyAngularBindingExpressions property set to true, and I have the following markup to iterate over a 2-dimensional array or object: <div ng-repeat="item in itemArray[myIndex] track...

Id #16 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Apr 1, 2015 at 3:50 PM by Taritsyn

jQuery conditional loading causes "Remain not closed conditional comment." exception

When using the recommend jQuery CDN/Conditional loading the minifyier throws an exception. e.g. <!--[if lt IE 9]> <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.11.1.min.js"></script>...

Id #13 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Sep 30, 2014 at 12:50 PM by Jeavon

Remove response header?

Is there any way to remove the response header that WebMarkupMin puts in: X-HTML-Minification-Powered-By:WebMarkupMin ? Also are there anything else it puts in the response headers? thanks....

Id #10 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Sep 10, 2014 at 6:25 PM by Ncage1974

Error when compressing Knockout.js template section

Found that WebMarkupMin doesn't compress knockout template in source code. All other markup compressed. Knockout.js template looks like: <script type="text/html" id="userTmpl"> <td data-bind="...

Id #9 | Release: None | Updated: Nov 29 at 11:18 AM by Taritsyn | Created: Jun 24, 2014 at 12:18 PM by Modex