mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 14:12:43 +00:00
Remove now-obsolete sanitization function
This commit is contained in:
@@ -106,13 +106,6 @@ const BrewRenderer = (props)=>{
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const sanitizeScriptTags = (content)=>{
|
|
||||||
return content
|
|
||||||
?.replace(/<script/ig, '<script')
|
|
||||||
.replace(/<\/script>/ig, '</script>')
|
|
||||||
|| '';
|
|
||||||
};
|
|
||||||
|
|
||||||
const renderPageInfo = ()=>{
|
const renderPageInfo = ()=>{
|
||||||
return <div className='pageInfo' ref={mainRef}>
|
return <div className='pageInfo' ref={mainRef}>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user