7ute / symbols-list

An alternate symbol list sidebar for Atom.io text editor
GNU General Public License v3.0
32 stars 24 forks source link

HTML artefact in symbol list #57

Closed andreaspiening closed 6 years ago

andreaspiening commented 7 years ago

I observed a white box in my 2.4.1 symbol-list that appeared to be an input field at the point where there was a string containing the corresponding HTML tag, in the JS code I was editing. In the screenshot see the JS code with the '<input>' string on the left and an HTML input control in my symbol list on the right.

atom-symbol-list-bug

I was able to replace the string with any HTML and the contents of the string was rendered in the list. <hr>, <iframe>,<script>. See the red "andy" in the screenshot?

My naive guess is that my code contains an unrecognised token... ?

I am using Atom 1.15.0 on Xenial

andreaspiening commented 7 years ago

I condensed the JS code as much as possible: jQuery('<input>').on('click', function(){});