refactor: rename option fields to avoid sql database quoting
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/components/optionDetail.go → internal/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))), ), ), })