antwar-rss-plugin
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -79,3 +79,3 @@ "use strict"; | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><h1 id="test">test</h1>\n<p><a href="http://google.com">check out</a></p>\n</content>' + "</entry>"; | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html">' + "<p>#test\n<a href="http://google.com">check out</a></p>\n" + "</content>" + "</entry>"; | ||
@@ -112,3 +112,3 @@ expect(result).toEqual(expected); | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
@@ -145,3 +145,3 @@ expect(result).toEqual(expected); | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
@@ -178,3 +178,3 @@ expect(result).toEqual(expected); | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
var expected = "<entry>" + "<title>" + title + "</title>" + "<id>ademotitle" + date.toLowerCase() + "</id>" + '<link href="' + baseUrl + 'demo"></link>' + "<updated>" + date + "</updated>" + '<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + "</entry>"; | ||
@@ -181,0 +181,0 @@ expect(result).toEqual(expected); |
@@ -25,2 +25,3 @@ "use strict"; | ||
}; | ||
}; | ||
}; | ||
module.exports.generate = generate; |
{ | ||
"name": "antwar-rss-plugin", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "RSS plugin for antwar", | ||
@@ -28,11 +28,11 @@ "main": "dist", | ||
"absolutify": "0.1.0", | ||
"lodash": "^4.17.4", | ||
"moment": "^2.19.4", | ||
"url-join": "^2.0.2" | ||
"lodash": "^4.17.5", | ||
"moment": "^2.20.1", | ||
"url-join": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"marked": "^0.3.7", | ||
"marked": "^0.3.12", | ||
"rimraf": "^2.6.2" | ||
} | ||
} |
@@ -106,3 +106,5 @@ const marked = require("marked"); | ||
"</updated>" + | ||
'<content type="html"><h1 id="test">test</h1>\n<p><a href="http://google.com">check out</a></p>\n</content>' + | ||
'<content type="html">' + | ||
"<p>#test\n<a href="http://google.com">check out</a></p>\n" + | ||
"</content>" + | ||
"</entry>"; | ||
@@ -156,3 +158,3 @@ | ||
"</updated>" + | ||
'<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
'<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
"</entry>"; | ||
@@ -206,3 +208,3 @@ | ||
"</updated>" + | ||
'<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
'<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
"</entry>"; | ||
@@ -256,3 +258,3 @@ | ||
"</updated>" + | ||
'<content type="html"><h1 id="test">test</h1>\n<p><a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
'<content type="html"><p>#test\n<a href="http://demo.com/blog/demo-interview">check out</a></p>\n</content>' + | ||
"</entry>"; | ||
@@ -259,0 +261,0 @@ |
@@ -20,1 +20,2 @@ const generate = require("./generate"); | ||
}; | ||
module.exports.generate = generate; |
764
24394
+ Addedurl-join@4.0.1(transitive)
- Removedurl-join@2.0.5(transitive)
Updatedlodash@^4.17.5
Updatedmoment@^2.20.1
Updatedurl-join@^4.0.0