function contentToHtml(text) { return text .split(' ') .map(paragraph => `<p>${paragraph}</p>`) .join('') }