Skip to content

Commit

Permalink
Merge pull request #3658 from owncloud/add_env_line_wrap
Browse files Browse the repository at this point in the history
replace `;` by `<br/>`
  • Loading branch information
dragonchaser authored May 3, 2022
2 parents 1a0e55c + cb679a2 commit 4b70484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/helpers/extractor.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func GetAnnotatedVariables(s interface{}) []ConfigField {
continue
}
v := fmt.Sprintf("%v", value.Interface())
fields = append(fields, ConfigField{Name: env, DefaultValue: v, Description: desc, Type: value.Type().Name()})
fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "<br/>"), DefaultValue: v, Description: desc, Type: value.Type().Name()})
case reflect.Ptr:
// PolicySelectors in the Proxy are being skipped atm
// they are not configurable via env vars, if that changes
Expand Down

0 comments on commit 4b70484

Please sign in to comment.