HAML and jEditable

One of the problems with jEditable and HAML is that HAML puts whitespace in the form automatically.  So my HAML script looks like this:

The problem with this in jEditable is that now once the user clicks on it, there is gobs of white space around the word.  To get rid of this you use HAML’s fancy no whitespace flag ‘<‘.  This looks like:

This is an example of how one simple character can really help improve the user experience 🙂

Comments are closed.