Question: Is there any difference between `<<-EOH` and `<<~EOH`?

I question that because Brackets doesn't highlight properly the ruby/chef code when I use `<<-EOH` and I have already tons of code running in production that way. So it would be impossible to approve my PR when everything is working fine and the only problem is my editor can't highlight.

When I switch `<<-EOH` by `<<~EOH` the code is properly recognized by Brackets and the code highlight works fine.

Is that a bug on Brackets or `<<-EOH` is wrong?

```rb
bash 'run_a_command_block' do
  code <<-EOH
    /usr/bin/python /usr/local/bin/a_regular_script.py
  EOH
  action :nothing
end

```

Answer: 
The squiggly heredoc will unindent the content to the level of the least indented row:

```
straight = <<-END_OF_TEXT
      Hello.

    This is:
      a regular dash.
END_OF_TEXT

squiggly = <<~END_OF_TEXT
      Hello.

    This is:
      using the squiggly dash.
END_OF_TEXT

separator = "-" * 30

puts separator
puts straight
puts separator
puts squiggly
puts separator

```

This outputs:

```
------------------------------
      Hello.

    This is:
      a regular dash.
------------------------------
  Hello.

This is:
  using the squiggly dash.
------------------------------

```
I just found the answer. They do different things. The straight one keeps the structure of the multi line string (line changes) while the squiggly concatenates every line as they were a single line.

Please refer to:
<https://infinum.co/the-capsized-eight/multiline-strings-ruby-2-3-0-the-squiggly-heredoc#disqus_thread>

I will check if I have the latest Brackets version. If yes, I open a ticket as suggested. 

Thanks you all.