suxess-it / backstage-plugin-k8sgpt

Apache License 2.0
4 stars 2 forks source link

bug: newline in k8sgpt details is not displayed as a line break #1

Open jkleinlercher opened 1 year ago

jkleinlercher commented 1 year ago

k8sgpt sometimes returns newline characters "\n" in its details but in the table this isn't displayed as a line break

jkleinlercher commented 1 year ago

maybe a replace of "\n" to "<br/>" in https://github.com/suxess-it/backstage-plugin-k8sgpt/blob/main/src/components/K8sGPTFetchResults/K8sGPTFetchResults.tsx#L71 does the trick.