1
Fork 0
mirror of https://github.com/RGBCube/HTMNIX synced 2025-07-24 22:47:43 +00:00

Fix wrong escapes

This commit is contained in:
RGBCube 2024-02-28 13:12:35 +03:00
parent c7ee85d111
commit 7d740ae755
No known key found for this signature in database

View file

@ -40,7 +40,7 @@ lib: let
final = recurseSubDrv ctxNames [ string ];
final' = assert (lib.length final == 1); lib.head final;
in if builtins.hasContext string then
yeet final'
builtins.replaceStrings [ ''\"'' ''\n'' ] [ ''"'' "\n" ] (yeet final')
else
lib.strings.escapeXML string;