Skip to content

char ' breaks the compilation #8

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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