added replaceNewlinesWithBR config option. If it's false, we won't replace. Otherwise, replace (default).