summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorLinnnus <linnnus@users.noreply.github.com>2024-11-14 14:09:23 +0100
committerLinnnus <linnnus@users.noreply.github.com>2024-12-23 12:29:20 +0100
commitd1cb670ee6473b1a2c8b072a30bc36736524a794 (patch)
treec98659f1a0059bc20456abcdc86d3878d25c4fca /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent122adac3284a1ab0d987bf607286c7b10c34b984 (diff)
lib.generators.toPlist: escape XML syntax in strings & keys
Before this patch, code like this would break generate invalid XML: lib.generators.toPlist {} "ab<cd" That's obviously bad, since the call to toPlist often happens through indirection, as is the case in e.g. the nix-darwin project. A user might not realize that they have to escape the strings. This patch adds the argument 'escape' to lib.generators.plist and emits a warning if it is not set to true. In a future release, this behavior should become the default. I have also added a note for future maintainers, in case I forget to actually remove the deprecated functionality in a future release.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions