neovim/runtime/lua
Bartłomiej Maryńczak 517ecb85f5
feat(stdlib): vim.json.encode(...,{escape_slash:boolean}) #30561
Problem:
vim.json.encode escapes every slash in string values (for example in
file paths), and is not optional. Use-case is for preventing HTML
injections (eg. injecting `</script>` closing tag); in the context of
Nvim this is rarely useful.

Solution:
- Add a `escape_slash` flag to `vim.json.encode`.
- Defaults to `false`. (This is a "breaking" change, but more like
  a bug fix.)
2024-12-06 12:43:41 -08:00
..
vim feat(stdlib): vim.json.encode(...,{escape_slash:boolean}) #30561 2024-12-06 12:43:41 -08:00
_vim9script.lua refactor(lua): rename tbl_islist => islist 2024-04-21 17:08:07 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua feat(editorconfig): add support for spelling_language (#28638) 2024-06-06 09:16:43 -05:00
man.lua refactor(lsp): drop str_byteindex/str_utfindex wrappers #30915 2024-10-26 07:38:25 -07:00
tohtml.lua fix(tohtml): enclose font-family names in quotation marks 2024-09-08 12:15:50 +02:00