Comments (3)
Thanks for reporting. This is an issue when preserving the content of the textarea. To work around this bug, you can simply use
%textarea= @title
from haml_coffee_assets.
Thanks, the workaround works fine !
from haml_coffee_assets.
With the latest version, whitespace preservation for textarea
and pre
tags have evolved. According to the Ruby Haml documentation, automatic whitespace preservation only takes place if the assignment is on the same line like the tag:
%textarea= @title
whereas with
%textarea
= @title
you have to take care of the preservation by yourself.
from haml_coffee_assets.
Related Issues (20)
- Don't see a maintenance near 2 years HOT 11
- Incompatibility with Rails 4.2.5.1 from a change to find_templates HOT 15
- WARNING: Author has died; repository not maintained HOT 1
- fix for sprockets ~> 3.5 HOT 1
- CVE fixing Rails 3.2.22.2 breaks compability with haml_coffee_assets: wrong number of arguments (5 for 4) HOT 1
- Templates not being found HOT 24
- Status of Repo HOT 1
- Asking to precompile jquery.self.js HOT 3
- Syntax errors doesn't highlight the template line HOT 2
- Deprecation warning: `register_engine` for Sprockets HOT 2
- Version 1.17 causes serious breakage HOT 9
- small deprecation warning, rails 5 HOT 1
- Hyphens in template names are being replaced with underscores HOT 2
- find_asset doesn't work when config.assets.compile = false HOT 2
- DEPRECATION WARNING: Single arity template handlers are deprecated HOT 4
- Anybody still maintaining this gem? HOT 5
- Rails 6.0 - undefined method 'append=' for nil:NilClass HOT 1
- Jasmine failures with ruby 2.5 HOT 5
- Mimetype .hamlc is not getting registered HOT 5
- Can you add Rails 7 support? 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 haml_coffee_assets.