pixl-server-storage 3.2.7 → 3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/indexer.js +2 -2
- package/package.json +1 -1
package/indexer.js
CHANGED
|
@@ -961,13 +961,13 @@ module.exports = Class.create({
|
|
|
961
961
|
|
|
962
962
|
filterWords_markdown: function(value) {
|
|
963
963
|
// filter out markdown syntax and html tags, entities
|
|
964
|
-
value = value.replace(
|
|
964
|
+
value = value.replace(/```[\s\S]*?```/g, ''); // fenced code
|
|
965
965
|
return this.filterWords_html(value);
|
|
966
966
|
},
|
|
967
967
|
|
|
968
968
|
filterWords_html: function(value) {
|
|
969
969
|
// filter out html tags, entities
|
|
970
|
-
return he.decode( value.replace(
|
|
970
|
+
return he.decode( value.replace(/<[^>]*>/g, '') );
|
|
971
971
|
},
|
|
972
972
|
|
|
973
973
|
filterWords_alphanum: function(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixl-server-storage",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "A key/value/list storage component for the pixl-server framework.",
|
|
5
5
|
"author": "Joseph Huckaby <jhuckaby@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/jhuckaby/pixl-server-storage",
|