# SYNTAX TEST "Packages/Rails/HTML (Rails).sublime-syntax"

Normal HTML

# ^ text.html.ruby <%# ruby comment %> # ^ comment.block punctuation.definition.comment <% if true # comment inside embedded %> # <- punctuation.section.embedded # ^ source.ruby.rails.embedded.html # ^ punctuation.definition.comment

Normal HTML

# ^ text.html.ruby <% end %> # ^ keyword.control <% if false -%>

inline erb

<% end -%> # <- punctuation.section.embedded # ^ constant.language # ^^^ punctuation.section.embedded

# ^^^^^^^^^^^ support.type.property-name # ^^ punctuation.section.embedded # ^ keyword.control # ^ keyword.control # ^ keyword.control