package_control icon indicating copy to clipboard operation
package_control copied to clipboard

fix: HTML decoding error in QuickPanelItem

Open jfcherng opened this issue 4 years ago • 1 comments

There are some special chars in the URL.

Reproduction Steps

  1. Open command palette
  2. Run Package Control: Install Package
  3. Type autos for filtering
  4. Check your console

image

Env

PC: 3.4.1 ST: 4113 Win64

jfcherng avatar Jul 14 '21 14:07 jfcherng

view.show_popup("<a href=\"http://www.sublimetext.com/forum/viewtopic.php?f=5&t=2607\">test</a>")

... results in same output. It's the equal sign in t=2607 which ST's minihtml API doesn't like.

~~Looks more like a core bug, then something Package Control could work around.~~

Nevermind, I'm blind!

I was under the expression this to be an issue.

But it's somewhat strange anyway, those href part to require html encoding of & to &amp; to work properly.

deathaxe avatar Jul 14 '21 19:07 deathaxe

Added a relevant fix to four-point-oh. Closing this as superseeded as PC3.x won't receive any fixes anymore.

deathaxe avatar Sep 14 '22 16:09 deathaxe