How to prevent React's dangerouslySetInnerHTML from dropping the < br/ > Filter in <code>?

when using dangerouslySetInnerHTML of React, it is found that the < br/ > Filter in is dropped

.
   

Thank you

Sep.26,2021

React does not use Filter. What code did you use to beautify the library? it gave br to Filter.


https://codepen.io/anon/pen/Y.
in this example react does not have Filter br, but react recommends br instead of / n

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eae73c-47fac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eae73c-47fac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?