Skip to content

char ' breaks the compilation #8

Open
@olistik

Description

@olistik

the charachter ' (html entity: & rsquo;) causes the compilation process to abort.

"\xE2" from ASCII-8BIT to UTF-8
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:28:in `write'
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:28:in `block in compile'
/path/to/gems/closure-compiler-0.3.3/lib/closure/popen.rb:56:in `popen'
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:22:in `compile'

I've found this character in Modernizr:

https://github.com/Modernizr/Modernizr/blob/master/modernizr.js#L541

by simply replacing it with the usual ' solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions