def test() puts(<<-STR) Some text STR if true end # this end and all the following code has wrong indentation puts("something else") end