#1303 xml.auto.close.tags closes at <a $this->

Bug
closed-fixed
SciTE (627)
5
2012-03-08
2012-02-16
No

It is quite common to write something like this in PHP:

echo "<a href='" . $this->href . "'></a>";

SciTE closes <a> after $this->.

This patch fixes it by ignoring > if it is preceded by -. Technically, it is maybe valid to have tags like <abc-> but it would be extremely rare.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2012-02-17

    Can't download the patch.

     
  • Neil Hodgson

    Neil Hodgson - 2012-02-17
    • assigned_to: nobody --> nyamatongwe
     
  • Jakub Vrána

    Jakub Vrána - 2012-02-18

    Weird, looks like a SF bug. The wrong patch could be neither deleted. Uploaded again.

     
  • Neil Hodgson

    Neil Hodgson - 2012-02-26

    Committed.

     
  • Neil Hodgson

    Neil Hodgson - 2012-02-26
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2012-03-08
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.