stereobooster/jekyll-press

Error in HTML and in console

Closed this issue · 12 comments

In the console I am getting this error from jekyll. This only occurs with jekyll_press:

parse error occurred while processing: /Users/Oliver/Development/Personal/OliverJAsh/site/css/base.css
details: parse error on value ":not(" (error)
copying initial file

I am also getting an error of Uncaught SyntaxError: Unexpected token ILLEGAL in the browser console. Something seems to be going wrong in the minification of the HTML here.

My project where I am witnessing this problems can be found here.

parse error occurred while processing: /Users/Oliver/Development/Personal/OliverJAsh/site/css/base.css
details: parse error on value ":not(" (error)
copying initial file

This one is not error, but warning. Which says that there is unsupported css selector :not(. This error occurs in csspool (or in this case csspool-st - my fork of csspool). So instead of minification of base.css it copies original file.

About Uncaught SyntaxError: Unexpected token ILLEGAL i need to investigate.

What command do you use to run jekyll?

cd oliverash.me
bundle
bundle exec jekyll source site

It's strange that I got following

You are missing a library required for Markdown. Please run:
  $ [sudo] gem install rdiscount

I found error

<script>window.jQuery || document.write('<script src="/components/jquery/jquery.js"><\/script>');</script>

it generates

<script>window.jQuery||document.write('<script src="/components/jquery/jquery.js"></script>')</script>

Interesting. Why is that happening?

On 6 Oct 2012, at 09:20, stereobooster notifications@github.com wrote:

I found error

<script>window.jQuery || document.write('<script src="/components/jquery/jquery.js"><\/script>');</script>

it generates

<script>window.jQuery||document.write('<script src="/components/jquery/jquery.js"></script>')</script>


Reply to this email directly or view it on GitHub.

Need to use option :inline_script for uglifier. Already fixed it. Try to update html_press gem.

Thank you!

On 6 Oct 2012, at 10:24, stereobooster notifications@github.com wrote:

Need to use option :inline_script for uglifier. Already fixed it. Try to update html_press gem.


Reply to this email directly or view it on GitHub.

About problem with css parser i reported here sparklemotion/csspool#26

Does csspool appreciate jekyll-press’ exclude property, can you tell me? I'm telling it to ignore my CSS but it's still coming up with the error:

parse error occurred while processing: /Users/Oliver/Development/Personal/OliverJAsh/site/css/base.css
details: parse error on value ":not(" (error)
copying initial file

I actually only need to minify my HTML. Should I be using jekyll-press?

I will check it

Regarding this:

details: parse error on value ":not(" (error)

I see that it has already been reported a year ago, and apparently it's still not working. Is there a solution to make this work as it should be?

It's been six months, @stereobooster could you look into it ?

project is deprecated #35