Files
neovim/runtime/lua/vim
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
..
2024-10-23 14:13:42 +02:00
2024-03-06 10:45:22 +00:00
2024-01-16 09:33:10 +00:00
2024-09-01 13:01:24 -07:00