diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-31 10:07:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-31 10:07:38 +0100 |
commit | 228d8e8e47e913fc6487a917d43a59070aefa0ab (patch) | |
tree | d19b21565d4d60d57ffd06a3d5751d04f0263a33 /server/tests/feeds | |
parent | ebe4b3df5c4e595f3fcf92b8ecf6c5174b13b3b0 (diff) | |
download | PeerTube-228d8e8e47e913fc6487a917d43a59070aefa0ab.tar.gz PeerTube-228d8e8e47e913fc6487a917d43a59070aefa0ab.tar.zst PeerTube-228d8e8e47e913fc6487a917d43a59070aefa0ab.zip |
Convert markdown to html/plain text for feeds
Diffstat (limited to 'server/tests/feeds')
-rw-r--r-- | server/tests/feeds/feeds.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/feeds/feeds.ts b/server/tests/feeds/feeds.ts index 24a518342..74cbaeb6d 100644 --- a/server/tests/feeds/feeds.ts +++ b/server/tests/feeds/feeds.ts | |||
@@ -274,8 +274,8 @@ describe('Test syndication feeds', () => { | |||
274 | 274 | ||
275 | const jsonObj = JSON.parse(json) | 275 | const jsonObj = JSON.parse(json) |
276 | expect(jsonObj.items.length).to.be.equal(2) | 276 | expect(jsonObj.items.length).to.be.equal(2) |
277 | expect(jsonObj.items[0].html_content).to.equal('super comment 2') | 277 | expect(jsonObj.items[0].html_content).to.contain('<p>super comment 2</p>') |
278 | expect(jsonObj.items[1].html_content).to.equal('super comment 1') | 278 | expect(jsonObj.items[1].html_content).to.contain('<p>super comment 1</p>') |
279 | } | 279 | } |
280 | }) | 280 | }) |
281 | 281 | ||