sindresorhus/refined-github

Status filters on PR list page display JS code #2646

arnaudvalle posted onGitHub

<!-- Thanks for reporting a bug! â›° 1. Make sure the bug is caused by Refined GitHub. Try disabling the extension first. 2. Include a full URL where the bug appears. 3. Include a screenshot/gif Issues without a URL/screenshot will be closed -->

Screenshot 2019-12-20 at 09 14 52

  1. You need a repo that has some checks
  2. Go to the PR list page (i.e. https://github.com/sindresorhus/refined-github/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)
  3. Click on the Status filter and see that it shows JS code in the dropdown items, i.e.:
    function() {
     return dom_chef_default.a.createElement("svg", {
       class: "octicon octicon-check",
       xmlns: "http://www.w3.org/2000/svg",
       width: "12",
       height: "16",
       viewBox: "0 0 12 16"
     }, dom_chef_default.a.createElement("path", {
       "fill-rule": "evenodd",
       d: "M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5L12 5z"
     }));
    }

Thank you for the report!

posted by fregante over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests