3 ms·
Web designers often send me half heartedly formated html that is full of repetitive nested structures that I do not understand. When trying to turn it into a co
by dougp 17y ago
Web designers often send me half heartedly formated html that is full of repetitive nested structures that I do not understand. When trying to turn it into a collection of partials I have inevitably destroyed some important tag. Everything breaks and I have to start over.
Turning it into haml has two benefits. I can visualize the structure of repeating elements so I have a better idea what to break into partials and I will never forget a closing tag which causes everything to break in some horrific way.