Anders Kaseorg

Results 179 issues of Anders Kaseorg

### Description One might think that a function like this generates safe HTML because the argument is HTML-escaped. ```js function imageLink(url) { const IMAGE_TEMPLATE = ''; return IMAGE_TEMPLATE.replace('{url}', htmlEscape(url)); }...

help wanted
new rule

Nose is unmaintained and no longer runs on Python 3.10: - nose-devs/nose#1127

These are unused as of commit 14f106ee76ec15b23e78e676de18dd97e102e3fb (#227). `cchardet` doesn’t build on Python 3.11.0, and its maintainer seems to be absent (PyYoshi/cChardet#81).

The nonstandard `setup.py install --no-ml` option didn’t work correctly with pip. We could move the ML dependencies into an extra, but that approach was previously rejected (#121): extras can’t be...

Firefox is appending `; charset=UTF-8` to its outgoing Content-Type. (Actually the right Content-Type is `application/json`, not `text/json`, but I’m not going to fix that here.)

``` haskell λ> EN.us_cardinal defaultInflection (10^321) :: Maybe String Just "one sescentillion" λ> EN.us_cardinal defaultInflection (10^1803) :: Maybe String Just "one sescentillion" ```

bug

In Node, `require("es6-error")` returns the function `ExtendableError`, but in Rollup or Webpack, `require("es6-error")` returns a module `{ default: ExtendableError }`. This means an `es6-error` dependent can’t be compatible with both...

Experiment to figure out what our template coverage would be if we removed `stub_templates`. [Coverage results](https://app.codecov.io/gh/zulip/zulip/compare/18287/tree/static/templates).

size: S
has conflicts