Skip to content

Text Minifier calls to Ajax Min and replaces hex values #38

@philoushka

Description

@philoushka

Repro:

  1. Get a bootstrap css. I got mine from bootswatch

  2. It's got selectors with hex values like this:

    .glyphicon-download:before {content: "\e026";}

  3. Run the file through the text minifier.

  4. Then find that selector, and find that the value of content is replaced by a square.

glyph out 2
(Notepad)

glyph out
(Notepad++)

Obviously the minifying is occuring in Microsoft.Ajax.Utilities.Minifier.MinifyStyleSheet(), and nothing to do with this application, but worth noting.

Is this an issue with the minifier or with the display of a char?
If so, how can we report it out?

The NuGet package is referencing Assembly AjaxMin.dll, v5.9.5229.26434

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions