You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Code Hints extensibility API has some confusing semantics, mainly driven by the code in CodeHintList._buildListView():
If you provide a match property, it assumes you're providing strings and not jQuery objects -- this is probably sensible, but it's not documented anywhere.
If you provide strings, it assumes they're already HTML-escaped. This is undocumented, and confusing since we already support jQuery objects if you want to provide formatted output.
If there is HTML markup or escaping in the string you provide, and you also provide match, it's possible for the match-text to match something in the HTML part of the string -- so the match-bolding logic will break the HTML code.
The text was updated successfully, but these errors were encountered:
Issue by peterflynn
Monday Mar 17, 2014 at 22:50 GMT
Originally opened as adobe/brackets#7217
The Code Hints extensibility API has some confusing semantics, mainly driven by the code in
CodeHintList._buildListView()
:match
, it's possible for the match-text to match something in the HTML part of the string -- so the match-bolding logic will break the HTML code.The text was updated successfully, but these errors were encountered: