jenkins-bot has submitted this change and it was merged.

Change subject: Stop stripping HTML markup from news story text
......................................................................


Stop stripping HTML markup from news story text

It's needed to conform to the latest design mocks

Change-Id: I6bf1663134a05a5fa9eaf6f9a4d09b09b41609dc
---
M lib/feed/news.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BearND: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/feed/news.js b/lib/feed/news.js
index 27117e9..8853781 100644
--- a/lib/feed/news.js
+++ b/lib/feed/news.js
@@ -37,7 +37,7 @@
         for (var j = 0, m = stories.length; j < m; j++) {
             var anchors = stories[j].getElementsByTagName('a');
             var story = {
-                story: mUtil.stripMarkup(stories[j].innerHTML).trim(),
+                story: stories[j].innerHTML,
                 links: []
             };
 

-- 
To view, visit https://gerrit.wikimedia.org/r/296417
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6bf1663134a05a5fa9eaf6f9a4d09b09b41609dc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Mholloway <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: Fjalapeno <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: Mhurd <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Niedzielski <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to