server : (webui) fix numeric settings being saved as string (#11739)
* server : (webui) fix numeric settings being saved as string * add some more comments
This commit is contained in:
parent
d2fe216fb2
commit
0cf867160c
3 changed files with 53 additions and 37 deletions
|
@ -23,6 +23,7 @@ export default function MarkdownDisplay({ content }: { content: string }) {
|
|||
button: (props) => (
|
||||
<CopyCodeButton {...props} origContent={preprocessedContent} />
|
||||
),
|
||||
// note: do not use "pre", "p" or other basic html elements here, it will cause the node to re-render when the message is being generated (this should be a bug with react-markdown, not sure how to fix it)
|
||||
}}
|
||||
>
|
||||
{preprocessedContent}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue