From be619a123b3150e48069526fffcb992451b2c770 Mon Sep 17 00:00:00 2001 From: Camerin Figueroa Date: Thu, 23 Dec 2021 17:37:19 -0500 Subject: [PATCH] Implemented newLineProcessor --- src/components/Article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Article.js b/src/components/Article.js index 80ab284..df8b1ef 100644 --- a/src/components/Article.js +++ b/src/components/Article.js @@ -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
{text}
;