all repos — searchix @ 702a8aacb9acd37cffef6b7f415deb72954a6f49

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor: rename option fields to avoid sql database quoting

Alan Pearce
commit

702a8aacb9acd37cffef6b7f415deb72954a6f49

parent

495994761bc04fd9b46e65e389e8b2cda28f1020

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M internal/components/optionDetail.gointernal/components/optionDetail.go
@@ -25,7 +25,7 @@ Dt(g.Text("Default")),
Dd( g.If(option.Default.Markdown != "", option.Default.Markdown, - Pre(Code(g.Text(option.Default.Text))), + Pre(Code(g.Text(option.Default.Plain))), ), ), })
@@ -38,7 +38,7 @@ Dt(g.Text("Example")),
Dd( g.If(option.Example.Markdown != "", option.Example.Markdown, - Pre(Code(g.Text(option.Example.Text))), + Pre(Code(g.Text(option.Example.Plain))), ), ), })