0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 09:02:37 +00:00

cleanup extra \n being added

This commit is contained in:
Trevor Buckner
2025-08-30 18:51:59 -04:00
committed by GitHub
parent da578c53a8
commit 53f6e48f8f

View File

@@ -40,7 +40,7 @@ const BrewPage = (props)=>{
...props
};
const pageRef = useRef(null);
const cleanText = safeHTML(`${props.contents}\n`);
const cleanText = safeHTML(props.contents);
useEffect(()=>{
if(!pageRef.current) return;