Comments (8)
Please provide more information. I have never used anything other than HAML for my templates, so the problem is most likely somewhere else. Also, which version of Rails are you using, and are you using the prerelease gem or the current stable version.
This could be a bug in Nokogiri, actually, since I'm just manipulating an HTML tree, not raw strings.
from roadie.
It occurs when using HAML layout templates, using yield
for content rendering.
I'm using Rails 3.1, current (not pre) gem.
from roadie.
Sure, but I need a small reproducible test case to work with. This does not happen for me.
It would be best if you could drill it down to the basics, just a template, a view and a stylesheet that shows this problem and nothing else.
Also show me your Gemfile.lock so I can investigate if there's some conflict with another gem. Are you on Darwin, Linux or Windows, btw?
from roadie.
Until I get something to replicate, I'm going to close this issue.
from roadie.
Hi Mange, I have exactly same issue. You can use this gist to reproduce it. Appreciate your comments. Thanks!
from roadie.
Thanks for the data. I will reopen this and investigate when I get the time.
For now, my guess are the @media
styles. Try to make those styles immutable since they are useless with roadie anyway and will be (at best) removed.
from roadie.
First of all, thanks a lot for the quick response. I tried removing all @media
styles. It turns out this is a mailer issue instead. I removed
from the gist template and Roadie works as expected. You can close this ticket.
from roadie.
Glad it worked better for you :-)
from roadie.
Related Issues (20)
- undefined method `children' for nil:NilClass HOT 13
- Support css_parser 1.4.x HOT 2
- Support Outlook's approach to margins HOT 2
- Media queries inlined HOT 9
- Roadie is erratically causing emails to be encoded differently HOT 3
- New release supporting Nokogiri 1.7? HOT 2
- Weird issue with content: '•'; in my CSS HOT 4
- Convert rem to px? HOT 1
- Allow anchor tags to be ignored HOT 3
- nokogiri is locked to 1.7.x, 1.8.x is out. HOT 5
- css_parser is locked to 1.4.x, 1.5.x is out HOT 6
- Add support for storing the document as XHTML HOT 3
- Stylesheet BOM stripping doesn't work with NetHttpProvider HOT 8
- support anchor/ image url stripping inside conditional tags HOT 5
- Image style attributes - Outlook (on windows) special cases HOT 1
- Transformation Hooks - readme out of date HOT 2
- [Announcement] Passive maintenance mode HOT 6
- Roadie output mangled when control chars are present in conditional comments HOT 1
- NoMethodError Exception: undefined method `match' for #<Hash:0x00000000062ecdf8> HOT 3
- Support CSS custom properties (variables) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roadie.