Closed vladislavsuljanovs closed 7 years ago
Hey guys, not sure what I'm doing wrong but the parser doesn't output new lines / line breaks using toReact method. toHTML method works well but then I have a problem with Quotes :(.
render() { return <div className="html-content"> {parser.toReact(this.props.toParse)} </div> }
I believe that the space / newline exists under this form:
Which is enter/return key symbol. How do we add this to the module ?
Hey guys, not sure what I'm doing wrong but the parser doesn't output new lines / line breaks using toReact method. toHTML method works well but then I have a problem with Quotes :(.
render() { return <div className="html-content"> {parser.toReact(this.props.toParse)} </div> }
I believe that the space / newline exists under this form:
Which is enter/return key symbol. How do we add this to the module ?