This fixes the bug described in this issue https://github.com/nebulab/erb-formatter/issues/51 opened by @AliOsm
The problem is that some tags are standalone, with no body or end tags
Like yield and next statements
This PR runs the same code written in the else block of the switch statement if the tags are standalone
This fixes the bug described in this issue https://github.com/nebulab/erb-formatter/issues/51 opened by @AliOsm The problem is that some tags are standalone, with no body or end tags Like
yield
andnext
statements This PR runs the same code written in the else block of the switch statement if the tags are standalone