mkRedundantOption: try escaping html tags instead

This commit is contained in:
greyweather committed 2026-09-01 23:46:21 +01:00
1 parent aaaf95429b
commit e6b2edcc42
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@
mkRedundantOption = name: value: attrs: lib.mkOption { mkRedundantOption = name: value: attrs: lib.mkOption {
inherit (attrs) type default; inherit (attrs) type default;
description = "${attrs.description}\n\n\\<div class=admonition-warning>\\<p class=admonition-title>::before\nRedundant\\</p>\\<p>${mkRedundantOptionDescription name value}\\</p>\\</div>"; description = "${attrs.description}\n\n\<div class=admonition-warning>\<p class=admonition-title>Redundant\</p>\<p>${mkRedundantOptionDescription name value}\</p>\</div>";
}; };
}; };
} }