mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-07-25 23:17:44 +00:00
Fix wrong escapes
This commit is contained in:
parent
c7ee85d111
commit
7d740ae755
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ lib: let
|
||||||
final = recurseSubDrv ctxNames [ string ];
|
final = recurseSubDrv ctxNames [ string ];
|
||||||
final' = assert (lib.length final == 1); lib.head final;
|
final' = assert (lib.length final == 1); lib.head final;
|
||||||
in if builtins.hasContext string then
|
in if builtins.hasContext string then
|
||||||
yeet final'
|
builtins.replaceStrings [ ''\"'' ''\n'' ] [ ''"'' "\n" ] (yeet final')
|
||||||
else
|
else
|
||||||
lib.strings.escapeXML string;
|
lib.strings.escapeXML string;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue