You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function (context) {
var fn;
fn = function(context) {
var c, e, o;
o = [];
e = HAML.escape;
c = HAML.cleanValue;
o.push("<textarea>undefined</textarea>");
return o.join("\n");
};
return fn.call(HAML.context(context));
}
This only happens with textareas... any idea what's happening ?
The text was updated successfully, but these errors were encountered:
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.
compiles to
This only happens with textareas... any idea what's happening ?
The text was updated successfully, but these errors were encountered: