Open starrychloe opened 9 years ago
The < and > is not working to trim white space.
.text-price %span>= '$'.sprintf("%.2f", $item->price) -if ($item->binPrice) %span>= ', BIN: '.sprintf("$%.2f", $item->binPrice)
produces
<div class="text-price"><span>$80.00</span> <span>, BIN: $104.00</span> </div>
There is still white space around the %span.
Reference: http://haml.info/docs/yardoc/file.REFERENCE.html#whitespace_removal__and_
The < and > is not working to trim white space.
produces
There is still white space around the %span.
Reference: http://haml.info/docs/yardoc/file.REFERENCE.html#whitespace_removal__and_