Implemented newLineProcessor

This commit is contained in:
Camerin Figueroa 2021-12-23 17:37:19 -05:00
parent da7eecd600
commit e9ff48ce30
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ const Article = ({article}) => {
return [...output.keys()].map((i)=>{ // Format text and return as jsx
let text = linkProcessor(output[i]); // Process links
text = newLineProcessor(text);
if (type[i] === 0){ // Return default text type
return <div key={i}>{text}</div>;