Commit fa751bd3 authored by Jean-Marc Le Roux's avatar Jean-Marc Le Roux

Fix article content LF formatting.

parent cdcba2b5
Pipeline #40958 passed with stages
in 1 minute and 1 second
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
......@@ -60,7 +60,7 @@ export default class ArticleEditor extends Component {
toHTML(text) {
return text.replace('\n', '<br/>');
return text.replace(/\n/g, '<br/>');
render() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment