Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-2264

Aptana HTML editor not consistently closing tags on </

    Details

      Description

      Assigned to http://aptanastudio.tenderapp.com/discussions/problems/2762-aptana-html-editor-not-consistently-closing-tags-on, Tender discussion #2762.

      1. Create a new empty HTML document
      2. Type the following

        <div></

      3. Be sure to delete </div> if it is auto-inserted
      4. Force content assist after the last /
      5. You should see a proposal for /div
      6. Replace the content with the following

        &lt;div&gt;Test&lt;/

      7. Force content assist after the last /

      It is expected that you will see the /div proposal in the content assist popup.

      Debugging, it seems that the top text returns a location type of IN_CLOSE_TAG, where the bottom one returns
      IN_TEXT. Suggest seeing if the text ends with "</" to make that determination.

        Attachments

          Activity

            People

            • Assignee:
              klindsey Kevin Lindsey
              Reporter:
              aptana1 Aptana
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code