From 7452e8d70aecd6c5dc429c1e7adf9b57ad3ca95f Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 4 Jan 2021 21:05:36 +0000 Subject: [PATCH] Remove unnecessary

wrapping when posting comments Bug: T271153 --- Wikipedia/Code/TalkPagesController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wikipedia/Code/TalkPagesController.swift b/Wikipedia/Code/TalkPagesController.swift index 7ca60a2c8a0..3dbbb712d67 100644 --- a/Wikipedia/Code/TalkPagesController.swift +++ b/Wikipedia/Code/TalkPagesController.swift @@ -131,7 +131,7 @@ class TalkPageController { return } - let wrappedBody = "

\n\n" + body + "\(signatureIfAutoSignEnabled)

" + let wrappedBody = "\n\n" + body + "\(signatureIfAutoSignEnabled)" fetcher.addTopic(to: title, siteURL: siteURL, subject: subject, body: wrappedBody) { (result) in switch result { case .success(let result): @@ -169,7 +169,7 @@ class TalkPageController { return } - let wrappedBody = "

\n\n" + body + "\(signatureIfAutoSignEnabled)

" + let wrappedBody = "\n\n" + body + "\(signatureIfAutoSignEnabled)" let talkPageTopicID = topic.objectID guard let talkPageObjectID = topic.talkPage?.objectID else { completion(.failure(TalkPageError.topicMissingTalkPageRelationship))