Aptana Studio
  1. Aptana Studio
  2. APSTUD-673

HTML.ERB not correctly colorizing HTML attributes after Ruby block

    Details

      Description

      {html}<div><p>I've noticed the following problems with the html syntax
      highlighting in the latest version.</p>
      <p><div class="<%= class_name %>" id="foo"> ...</p>
      <p>id="foo" will not be colored correctly, just remains white.</p>
      <p>However</p>
      <p><div id="foo" class="<%= class_name %>"> ...</p>
      <p>works as expected.</p>
      <p>Another issue is with code in "#{ruby code}" inside an .html.erb
      file. Basically it is highlighted as part of the string not as ruby
      code.</p></div>{html}

        Issue Links

          Activity

          Hide
          Andrew Shebanow added a comment -
          {html}<div><p>yes, I've been seeing this too. Thought we'd fixed it,
          but...</p></div>{html}
          Show
          Andrew Shebanow added a comment - {html}<div><p>yes, I've been seeing this too. Thought we'd fixed it, but...</p></div>{html}
          Hide
          dlikhten added a comment -
          {html}<div><p>Well it is definitely much better than last version </p></div>{html}
          Show
          dlikhten added a comment - {html}<div><p>Well it is definitely much better than last version </p></div>{html}
          Hide
          Michael Xia (Inactive) added a comment -
          {html}<div><p>The problem we fixed was to color the tag (in this case "div")
          correctly in such case, but it didn't resolve the problem with the
          attributes after the erb block.</p></div>{html}
          Show
          Michael Xia (Inactive) added a comment - {html}<div><p>The problem we fixed was to color the tag (in this case "div") correctly in such case, but it didn't resolve the problem with the attributes after the erb block.</p></div>{html}
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.5.201110061808
          Ubuntu 10.10

          Verified foo in <div class="<%= class_name %>" id="foo"> is colored correctly.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201110061808 Ubuntu 10.10 Verified foo in <div class="<%= class_name %>" id="foo"> is colored correctly.

            People

            • Assignee:
              Max Stepanov
              Reporter:
              dlikhten
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: