Code Monkey home page Code Monkey logo

Comments (3)

ahuth avatar ahuth commented on June 29, 2024

Hi. Thanks for raising this issue!

What's happening here is an unintended consequence of the fix for issue #12. This is also related to issue #19.

To prevent the HTML parser from removing non-standard syntax, such as Polymer's conditional attributes, <template> tags are not processed at all. This keeps Nokogiri from removing the syntax it doesn't like.

However, this also keeps the stylesheet processor from seeing and processing any stylesheet references within the <template>.

In development, the un-processed stylesheet reference works because 'paper-button.css' is where it's expected to be. In production, though, that file isn't there anymore, which is why you get a 404. Right now I'm working on a fix that will let the contents of the <template> tags be processed, allowing the stylesheet processor to actually process everything it needs to.

from emcee.

ahuth avatar ahuth commented on June 29, 2024

@elliottsj, I've finally fixed the problems here, and you can see this working correctly here.

Emcee now uses a different parser and does some additional processing of tags with specific attributes to get everything to work right.

Thanks again, and let me know if you have any other issues.

from emcee.

elliottsj avatar elliottsj commented on June 29, 2024

@ahuth Awesome, thanks so much. I'll try it out tonight!

from emcee.

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.