Fix for "NoMethodError on multiline string"
Supporting string interpolation ("#{val}")
Avoid extra spaces on empty lines