Comments (6)
This is in fact a feature, not a bug :)
It's meant to trick the Yahoo! app, as this client will strip out the first <head>
tag it finds, thus removing the CSS and completely breaking the layout. Feeding it an empty one first will trick it into removing that, while keeping the actual <head>
that the framework uses.
I've tested this myself and it doesn't cause any problems in any of the major email clients. Have you tested and found one that is affected by this hack?
from heml.
Yup, Litmus Builder bug, works fine in Email on Acid's editor, as well as in the browser and major email clients that I've tested :)
from heml.
I was about to respond with that! Thanks, @hellocosmin!
This is documented really well by mosaico
from heml.
Awesome. Thanks for the clarification.
Ran this through Litmus and everything came up blank until I stripped out the blank <head></head>
https://litmus.com/builder/c540f0b
Probably a bug on their end :)
from heml.
Perfect. Thanks!
from heml.
The double <head>
breaks Cleverreachs drag'n'drop email editor.
from heml.
Related Issues (20)
- Haml to html conversion problem!
- Background image support? HOT 1
- Multiple security vulnerabilities
- online editor not working anymore ? HOT 2
- Is project still alive?
- Pseudo-Element Styling Not Working HOT 2
- The Editor doesn't work anymore HOT 1
- Feature request: placeholders
- Add `from: undefined` to hide warnings from PostCSS HOT 1
- heml: command not found HOT 1
- Feature request: centering & spacers
- Feature request: Build entire folder HOT 2
- Meta errors when rendering multiple times concurrently HOT 7
- Update axios in @heml/elements to avoid security alert
- TypeScript Definitions HOT 2
- Node#moveTo was deprecated. Use Container#append.
- Is this module still under development? HOT 1
- Charts component for emails - do you accept external contributions?
- Heml fork - This project has the potential to be something big. HOT 4
- Comparison with MJML 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 heml.