ginlane/spree_importer — pull request #15 by jumph4x (2014-01-06 08:23:22+00:00)
Title: Alter class interpolation syntax for Deface

Second attempt.

Deface has trouble decorating other extensions' haml views. This sidesteps the HTML class interpolation, and the world is a good place again.

Otherwise we get naaaaastay stuff like this
```
Haml::SyntaxError ((haml):23: syntax error, unexpected tIDENTIFIER, expecting ')'
...class" => "#cycle('even', "data-erb-odd" => "<%= )" %>")}>\n...
... ^
(haml):23: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
... "#cycle('even', "data-erb-odd" => "<%= )" %>")}>\n <% @r...
... ^
(haml):23: syntax error, unexpected tIDENTIFIER, expecting tSTRING_DEND
...h| %>\n	<%= truncate row[h.raw] %>\n\n <%...
... ^
(haml):23: syntax error, unexpected '>'
...> <%= truncate row[h.raw] %>\n\n <% end %>\n \n <% end %>\n
\n <% end %>\n

\n", 0,...
... ^
(haml):23: syntax error, unexpected '>'
...<% end %>\n
\n <% end %>\n

\n", 0, false);;::H...
... ^
(haml):23: unterminated regexp meets end of file
(haml):23: syntax error, unexpected end-of-input, expecting tSTRING_DEND
...::Haml::Util.html_safe(_erbout)
... ^):

```