Coder Social home page Coder Social logo

Comments (7)

Taritsyn avatar Taritsyn commented on May 31, 2024 1

In this file not found problem.

You can check this, if you create the following action of controller:

[MinifyHtml]
public ActionResult Dmx()
{
    return new FileContentResult(
        System.IO.File.ReadAllBytes(@"C:\tmp\Internet.Tivi.Sony.40.inch.KDL-40W700C.txt"), "text/html");
}

from webmarkupmin.

Taritsyn avatar Taritsyn commented on May 31, 2024

Hello, Fioenix!

Give an example of a HTML code before minification.

from webmarkupmin.

Taritsyn avatar Taritsyn commented on May 31, 2024

I'm closing this error, because didn't get example of the HTML code before minification.

from webmarkupmin.

fioenix avatar fioenix commented on May 31, 2024

Sorry, I'm late.

This is HTML code file.

Thanks & regards.

Internet Tivi Sony 40 inch KDL-40W700C.txt

from webmarkupmin.

Taritsyn avatar Taritsyn commented on May 31, 2024

Hello, Fioenix!

Did you tested this file? I have not found any "&#65279" strings in minified HTML code.

Why source file contains the following code:

<!-- saved from url=(0044)http://www.dmx.com/tivi/led-sony-kdl-40w700c -->

You saved it by using the browser? When saving an HTML document in this way, browser modifies its source code.

In addition, encoding declared 2 times:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">

from webmarkupmin.

Taritsyn avatar Taritsyn commented on May 31, 2024

What version of the WebMarkupMin.Core are you using?

HTML entity &#65279 is BOM. In WebMarkupMin 2.0.0 RC 2 solved this problem.

from webmarkupmin.

fioenix avatar fioenix commented on May 31, 2024

Thank you very much for your support!

I used ASP.Net 4.5 (C#) & WebMarkupMin.Core.2.0.0-rc1, but after updated to RC2 I still saw this error.

I also removed duplicate meta tags.

This is original HTML code (not saved by the browser):
Internet.Tivi.Sony.40.inch.KDL-40W700C.txt

Could you please help me to check if having any mistake?

from webmarkupmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.