joaomdmoura/sweet — Issue #20: Error in style attribute of a tag
Author: joaomdmoura
Created: 2012-01-06 14:00:45+00:00
State: open
Labels: Errors

It seems wrong for me but i know there is a lot fo people the are used to write style attribute in some tag, so when i tried run a cucumber test with it just crashed, this is the part when it break:

```
div style=background-color:#000;border:1;
"content"
```

And this is the error:

/Users/joaomdmoura/.rvm/gems/ruby-1.9.2-p290/gems/sweet-lang-0.4.6/lib/lexer/strings.rb:30:in `fix_atr': undefined method `gsub' for nil:NilClass (NoMethodError)