Thread:Extension talk:WikiEditor/newline for search/replace/reply

Wikitext is not just a string so common "\n" doesn't make new lines here. Use HTML tag " " instead of "\n" to make a new line in the article.