diff --git a/lib/consts/allowed-attributes.const.js b/lib/consts/allowed-attributes.const.js index 446a6ac..e2a8036 100644 --- a/lib/consts/allowed-attributes.const.js +++ b/lib/consts/allowed-attributes.const.js @@ -41,7 +41,7 @@ exports.ALLOWED_ATTRIBUTES = { 'h4': [], 'h5': [], 'h6': [], - 'p': [], + 'p': ['dir'], 'center': [], 'ul': [], 'ol': [], diff --git a/lib/consts/allowed-attributes.const.js.map b/lib/consts/allowed-attributes.const.js.map index 1b8b1ce..8f09e69 100644 --- a/lib/consts/allowed-attributes.const.js.map +++ b/lib/consts/allowed-attributes.const.js.map @@ -1 +1 @@ -{"version":3,"file":"allowed-attributes.const.js","sourceRoot":"","sources":["../../src/consts/allowed-attributes.const.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAiB;IAC9C,GAAG,EAAE;QACH,MAAM;QACN,QAAQ;QACR,KAAK;QACL,eAAe;QACf,UAAU;QACV,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,aAAa;QACb,gBAAgB;QAChB,cAAc;QACd,iBAAiB;QACjB,iBAAiB;QACjB,eAAe;QACf,OAAO;QACP,OAAO;QACP,SAAS;KACV;IACD,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,CAAC,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,SAAS,CAAC;IACtH,KAAK,EAAE,CAAC,OAAO,CAAC;IAChB,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,EAAE;IACP,GAAG,EAAE,EAAE;IACP,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,CAAC,OAAO,CAAC;IACvB,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,GAAG,EAAE,EAAE;IACP,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAA"} \ No newline at end of file +{"version":3,"file":"allowed-attributes.const.js","sourceRoot":"","sources":["../../src/consts/allowed-attributes.const.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAiB;IAC9C,GAAG,EAAE;QACH,MAAM;QACN,QAAQ;QACR,KAAK;QACL,eAAe;QACf,UAAU;QACV,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,aAAa;QACb,gBAAgB;QAChB,cAAc;QACd,iBAAiB;QACjB,iBAAiB;QACjB,eAAe;QACf,OAAO;QACP,OAAO;QACP,SAAS;KACV;IACD,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,CAAC,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,SAAS,CAAC;IACtH,KAAK,EAAE,CAAC,OAAO,CAAC;IAChB,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,EAAE;IACP,GAAG,EAAE,EAAE;IACP,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,CAAC,OAAO,CAAC;IACvB,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,GAAG,EAAE,CAAC,KAAK,CAAC;IACZ,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAA"} \ No newline at end of file diff --git a/lib/consts/regexes.const.js b/lib/consts/regexes.const.js index 8912436..34bd284 100644 --- a/lib/consts/regexes.const.js +++ b/lib/consts/regexes.const.js @@ -32,7 +32,7 @@ exports.SPEAK_REGEX = /(?:https?:\/\/(?:3speak.([a-z]+)\/watch\?v=)|(?:3speak.([ exports.SPEAK_EMBED_REGEX = /^(https?:)?\/\/3speak.([a-z]+)\/embed\?.*/i; exports.TWITTER_REGEX = /(?:https?:\/\/(?:(?:twitter\.com\/(.*?)\/status\/(.*))))/gi; exports.SPOTIFY_REGEX = /^https:\/\/open\.spotify\.com\/playlist\/(.*)?$/gi; -exports.RUMBLE_REGEX = /^https:\/\/rumble.com\/embed\/([a-zA-Z0-9-]+)\/\?pub=4/; +exports.RUMBLE_REGEX = /^https:\/\/rumble.com\/embed\/([a-zA-Z0-9-]+)\/\?pub=\w+/; exports.BRIGHTEON_REGEX = /^https?:\/\/(www\.)?brighteon\.com\/(?:embed\/)?(.*[0-9].*)/i; exports.VIMM_EMBED_REGEX = /^https:\/\/www.vimm.tv\/.*/i; exports.SPOTIFY_EMBED_REGEX = /^https:\/\/open\.spotify\.com\/(embed|embed-podcast)\/(playlist|show|episode|track|album)\/(.*)/i; diff --git a/lib/consts/regexes.const.js.map b/lib/consts/regexes.const.js.map index 609be8b..14dea78 100644 --- a/lib/consts/regexes.const.js.map +++ b/lib/consts/regexes.const.js.map @@ -1 +1 @@ -{"version":3,"file":"regexes.const.js","sourceRoot":"","sources":["../../src/consts/regexes.const.ts"],"names":[],"mappings":";;;AAAA,aAAa;AACA,QAAA,SAAS,GAAG,sBAAsB,CAAA;AAClC,QAAA,SAAS,GAAG,mEAAmE,CAAA;AAC/E,QAAA,UAAU,GAAG,4CAA4C,CAAA;AACzD,QAAA,UAAU,GAAG,6CAA6C,CAAA;AAC1D,QAAA,SAAS,GAAG,2CAA2C,CAAA;AACvD,QAAA,aAAa,GAAG,kCAAkC,CAAA;AAClD,QAAA,WAAW,GAAG,wEAAwE,CAAA;AACtF,QAAA,sBAAsB,GAAG,iBAAiB,CAAA;AAC1C,QAAA,oBAAoB,GAAG,yDAAyD,CAAA;AAChF,QAAA,uBAAuB,GAAG,2BAA2B,CAAA;AACrD,QAAA,mBAAmB,GAAG,yBAAyB,CAAA;AAC/C,QAAA,sBAAsB,GAAG,sCAAsC,CAAA;AAC/D,QAAA,aAAa,GAAG,2FAA2F,CAAA;AAC3G,QAAA,mBAAmB,GAAG,qDAAqD,CAAA;AAC3E,QAAA,WAAW,GAAG,4EAA4E,CAAA;AAC1F,QAAA,iBAAiB,GAAG,+CAA+C,CAAA;AACnE,QAAA,cAAc,GAAG,wEAAwE,CAAA;AACzF,QAAA,YAAY,GAAG,0CAA0C,CAAA;AACzD,QAAA,aAAa,GAAG,uCAAuC,CAAA;AACvD,QAAA,kBAAkB,GAAG,4BAA4B,CAAA;AACjD,QAAA,YAAY,GAAG,wEAAwE,CAAA;AACvF,QAAA,YAAY,GAAG,4DAA4D,CAAA;AAC3E,QAAA,YAAY,GAAG,mDAAmD,CAAA;AAClE,QAAA,UAAU,GAAG,wCAAwC,CAAA;AACrD,QAAA,YAAY,GAAG,2CAA2C,CAAA;AAC1D,QAAA,UAAU,GAAG,wCAAwC,CAAA;AACrD,QAAA,WAAW,GAAG,2GAA2G,CAAA;AACzH,QAAA,iBAAiB,GAAG,4CAA4C,CAAA;AAChE,QAAA,aAAa,GAAG,4DAA4D,CAAA;AAC5E,QAAA,aAAa,GAAG,mDAAmD,CAAA;AACnE,QAAA,YAAY,GAAI,wDAAwD,CAAA;AACxE,QAAA,eAAe,GAAG,8DAA8D,CAAA;AAChF,QAAA,gBAAgB,GAAG,6BAA6B,CAAA;AAChD,QAAA,mBAAmB,GAAG,kGAAkG,CAAA;AACxH,QAAA,sBAAsB,GAAG,0CAA0C,CAAA;AACnE,QAAA,kBAAkB,GAAG,sCAAsC,CAAA;AAC3D,QAAA,oBAAoB,GAAG,kDAAkD,CAAA;AACzE,QAAA,UAAU,GAAG,2CAA2C,CAAA;AACxD,QAAA,gBAAgB,GAAG,2CAA2C,CAAA;AAC9D,QAAA,kBAAkB,GAAG,8DAA8D,CAAA;AACnF,QAAA,YAAY,GAAG,gDAAgD,CAAA;AAC/D,QAAA,aAAa,GAAG,6BAA6B,CAAA"} \ No newline at end of file +{"version":3,"file":"regexes.const.js","sourceRoot":"","sources":["../../src/consts/regexes.const.ts"],"names":[],"mappings":";;;AAAA,aAAa;AACA,QAAA,SAAS,GAAG,sBAAsB,CAAA;AAClC,QAAA,SAAS,GAAG,mEAAmE,CAAA;AAC/E,QAAA,UAAU,GAAG,4CAA4C,CAAA;AACzD,QAAA,UAAU,GAAG,6CAA6C,CAAA;AAC1D,QAAA,SAAS,GAAG,2CAA2C,CAAA;AACvD,QAAA,aAAa,GAAG,kCAAkC,CAAA;AAClD,QAAA,WAAW,GAAG,wEAAwE,CAAA;AACtF,QAAA,sBAAsB,GAAG,iBAAiB,CAAA;AAC1C,QAAA,oBAAoB,GAAG,yDAAyD,CAAA;AAChF,QAAA,uBAAuB,GAAG,2BAA2B,CAAA;AACrD,QAAA,mBAAmB,GAAG,yBAAyB,CAAA;AAC/C,QAAA,sBAAsB,GAAG,sCAAsC,CAAA;AAC/D,QAAA,aAAa,GAAG,2FAA2F,CAAA;AAC3G,QAAA,mBAAmB,GAAG,qDAAqD,CAAA;AAC3E,QAAA,WAAW,GAAG,4EAA4E,CAAA;AAC1F,QAAA,iBAAiB,GAAG,+CAA+C,CAAA;AACnE,QAAA,cAAc,GAAG,wEAAwE,CAAA;AACzF,QAAA,YAAY,GAAG,0CAA0C,CAAA;AACzD,QAAA,aAAa,GAAG,uCAAuC,CAAA;AACvD,QAAA,kBAAkB,GAAG,4BAA4B,CAAA;AACjD,QAAA,YAAY,GAAG,wEAAwE,CAAA;AACvF,QAAA,YAAY,GAAG,4DAA4D,CAAA;AAC3E,QAAA,YAAY,GAAG,mDAAmD,CAAA;AAClE,QAAA,UAAU,GAAG,wCAAwC,CAAA;AACrD,QAAA,YAAY,GAAG,2CAA2C,CAAA;AAC1D,QAAA,UAAU,GAAG,wCAAwC,CAAA;AACrD,QAAA,WAAW,GAAG,2GAA2G,CAAA;AACzH,QAAA,iBAAiB,GAAG,4CAA4C,CAAA;AAChE,QAAA,aAAa,GAAG,4DAA4D,CAAA;AAC5E,QAAA,aAAa,GAAG,mDAAmD,CAAA;AACnE,QAAA,YAAY,GAAI,0DAA0D,CAAA;AAC1E,QAAA,eAAe,GAAG,8DAA8D,CAAA;AAChF,QAAA,gBAAgB,GAAG,6BAA6B,CAAA;AAChD,QAAA,mBAAmB,GAAG,kGAAkG,CAAA;AACxH,QAAA,sBAAsB,GAAG,0CAA0C,CAAA;AACnE,QAAA,kBAAkB,GAAG,sCAAsC,CAAA;AAC3D,QAAA,oBAAoB,GAAG,kDAAkD,CAAA;AACzE,QAAA,UAAU,GAAG,2CAA2C,CAAA;AACxD,QAAA,gBAAgB,GAAG,2CAA2C,CAAA;AAC9D,QAAA,kBAAkB,GAAG,8DAA8D,CAAA;AACnF,QAAA,YAAY,GAAG,gDAAgD,CAAA;AAC/D,QAAA,aAAa,GAAG,6BAA6B,CAAA"} \ No newline at end of file diff --git a/lib/consts/section-list.const.js b/lib/consts/section-list.const.js index 60e55ae..0534b91 100644 --- a/lib/consts/section-list.const.js +++ b/lib/consts/section-list.const.js @@ -18,6 +18,7 @@ exports.SECTION_LIST = [ 'referrals', 'payout', 'activities', - 'spk' + 'spk', + 'trail' ]; //# sourceMappingURL=section-list.const.js.map \ No newline at end of file diff --git a/lib/consts/section-list.const.js.map b/lib/consts/section-list.const.js.map index d7b263b..e3823da 100644 --- a/lib/consts/section-list.const.js.map +++ b/lib/consts/section-list.const.js.map @@ -1 +1 @@ -{"version":3,"file":"section-list.const.js","sourceRoot":"","sources":["../../src/consts/section-list.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,QAAQ;IACR,MAAM;IACN,WAAW;IACX,WAAW;IACX,QAAQ;IACR,aAAa;IACb,OAAO;IACP,MAAM;IACN,UAAU;IACV,SAAS;IACT,UAAU;IACV,QAAQ;IACR,aAAa;IACb,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,KAAK;CACN,CAAA"} \ No newline at end of file +{"version":3,"file":"section-list.const.js","sourceRoot":"","sources":["../../src/consts/section-list.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,QAAQ;IACR,MAAM;IACN,WAAW;IACX,WAAW;IACX,QAAQ;IACR,aAAa;IACb,OAAO;IACP,MAAM;IACN,UAAU;IACV,SAAS;IACT,UAAU;IACV,QAAQ;IACR,aAAa;IACb,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,KAAK;IACL,OAAO;CACR,CAAA"} \ No newline at end of file diff --git a/lib/consts/white-list.const.d.ts b/lib/consts/white-list.const.d.ts index c7c3ec1..44b5d85 100644 --- a/lib/consts/white-list.const.d.ts +++ b/lib/consts/white-list.const.d.ts @@ -1 +1,2 @@ export declare const WHITE_LIST: string[]; +export declare const OLD_LIST: string[]; diff --git a/lib/consts/white-list.const.js b/lib/consts/white-list.const.js index 2fdf601..02557bf 100644 --- a/lib/consts/white-list.const.js +++ b/lib/consts/white-list.const.js @@ -1,10 +1,25 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.WHITE_LIST = void 0; +exports.OLD_LIST = exports.WHITE_LIST = void 0; exports.WHITE_LIST = [ 'ecency.com', 'hive.blog', 'peakd.com', + 'travelfeed.io', + 'dapplr.in', + 'leofinance.io', + 'inleo.io', + 'proofofbrain.io', + 'stemgeeks.net', + 'hiveblockexplorer.com', + 'proofofbrain.blog', + 'weedcash.network', + 'dapplr.in', + 'liketu.com', + 'bilpcoin.com', + 'inji.com' +]; +exports.OLD_LIST = [ 'busy.org', 'steemit.com', 'esteem.app', @@ -15,20 +30,8 @@ exports.WHITE_LIST = [ 'steemkr.com', 'strimi.pl', 'steemhunt.com', - 'travelfeed.io', 'ulogs.org', 'hede.io', - 'weedcash.network', - 'dapplr.in', - 'leofinance.io', - 'inleo.io', - 'proofofbrain.io', - 'naturalmedicine.io', - 'bilpcoin.com', - 'stemgeeks.net', - 'hiveblockexplorer.com', - 'proofofbrain.blog', - 'liketu.com', - 'inji.com' + 'naturalmedicine.io' ]; -//# sourceMappingURL=white-list.const.js.map +//# sourceMappingURL=white-list.const.js.map \ No newline at end of file diff --git a/lib/consts/white-list.const.js.map b/lib/consts/white-list.const.js.map index 77bba99..7884586 100644 --- a/lib/consts/white-list.const.js.map +++ b/lib/consts/white-list.const.js.map @@ -1 +1 @@ -{"version":3,"file":"white-list.const.js","sourceRoot":"","sources":["../../src/consts/white-list.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,YAAY;IACZ,WAAW;IACX,WAAW;IACX,UAAU;IACV,aAAa;IACb,YAAY;IACZ,eAAe;IACf,aAAa;IACb,aAAa;IACb,YAAY;IACZ,aAAa;IACb,WAAW;IACX,eAAe;IACf,eAAe;IACf,WAAW;IACX,SAAS;IACT,kBAAkB;IAClB,WAAW;IACX,eAAe;IACf,iBAAiB;IACjB,oBAAoB;IACpB,cAAc;IACd,eAAe;IACf,uBAAuB;IACvB,mBAAmB;IACnB,YAAY;IACZ,UAAU;CACX,CAAA"} \ No newline at end of file +{"version":3,"file":"white-list.const.js","sourceRoot":"","sources":["../../src/consts/white-list.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,YAAY;IACZ,WAAW;IACX,WAAW;IACX,eAAe;IACf,WAAW;IACX,eAAe;IACf,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,uBAAuB;IACvB,mBAAmB;IACnB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,cAAc;IACd,UAAU;CACX,CAAA;AACY,QAAA,QAAQ,GAAG;IACtB,UAAU;IACV,aAAa;IACb,YAAY;IACZ,eAAe;IACf,aAAa;IACb,aAAa;IACb,YAAY;IACZ,aAAa;IACb,WAAW;IACX,eAAe;IACf,WAAW;IACX,SAAS;IACT,oBAAoB;CACrB,CAAA"} \ No newline at end of file diff --git a/lib/index.d.ts b/lib/index.d.ts index 28f7cc7..be59ec9 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -3,4 +3,5 @@ import { catchPostImage } from './catch-post-image'; import { getPostBodySummary as postBodySummary } from './post-body-summary'; import { setProxyBase, proxifyImageSrc } from './proxify-image-src'; import { setCacheSize } from './cache'; -export { renderPostBody, catchPostImage, postBodySummary, proxifyImageSrc, setProxyBase, setCacheSize }; +import { SECTION_LIST } from './consts'; +export { renderPostBody, catchPostImage, postBodySummary, proxifyImageSrc, setProxyBase, setCacheSize, SECTION_LIST }; diff --git a/lib/index.js b/lib/index.js index 2fa4339..5e19dd5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.setCacheSize = exports.setProxyBase = exports.proxifyImageSrc = exports.postBodySummary = exports.catchPostImage = exports.renderPostBody = void 0; +exports.SECTION_LIST = exports.setCacheSize = exports.setProxyBase = exports.proxifyImageSrc = exports.postBodySummary = exports.catchPostImage = exports.renderPostBody = void 0; var markdown_2_html_1 = require("./markdown-2-html"); Object.defineProperty(exports, "renderPostBody", { enumerable: true, get: function () { return markdown_2_html_1.markdown2Html; } }); var catch_post_image_1 = require("./catch-post-image"); @@ -12,4 +12,6 @@ Object.defineProperty(exports, "setProxyBase", { enumerable: true, get: function Object.defineProperty(exports, "proxifyImageSrc", { enumerable: true, get: function () { return proxify_image_src_1.proxifyImageSrc; } }); var cache_1 = require("./cache"); Object.defineProperty(exports, "setCacheSize", { enumerable: true, get: function () { return cache_1.setCacheSize; } }); +var consts_1 = require("./consts"); +Object.defineProperty(exports, "SECTION_LIST", { enumerable: true, get: function () { return consts_1.SECTION_LIST; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/index.js.map b/lib/index.js.map index 38e542f..1818e35 100644 --- a/lib/index.js.map +++ b/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmE;AAOjE,+FAPwB,+BAAc,OAOxB;AANhB,uDAAmD;AAOjD,+FAPO,iCAAc,OAOP;AANhB,yDAA2E;AAOzE,gGAP6B,sCAAe,OAO7B;AANjB,yDAAmE;AAQjE,6FARO,gCAAY,OAQP;AADZ,gGAPqB,mCAAe,OAOrB;AANjB,iCAAsC;AAQpC,6FARO,oBAAY,OAQP"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmE;AAQjE,+FARwB,+BAAc,OAQxB;AAPhB,uDAAmD;AAQjD,+FARO,iCAAc,OAQP;AAPhB,yDAA2E;AAQzE,gGAR6B,sCAAe,OAQ7B;AAPjB,yDAAmE;AASjE,6FATO,gCAAY,OASP;AADZ,gGARqB,mCAAe,OAQrB;AAPjB,iCAAsC;AASpC,6FATO,oBAAY,OASP;AARd,mCAAuC;AASrC,6FATO,qBAAY,OASP"} \ No newline at end of file diff --git a/lib/methods/clean-reply.method.js b/lib/methods/clean-reply.method.js index 20385ac..5371137 100644 --- a/lib/methods/clean-reply.method.js +++ b/lib/methods/clean-reply.method.js @@ -7,8 +7,11 @@ function cleanReply(s) { .filter(function (item) { return item.toLowerCase().includes('posted using [dapplr') === false; }) .filter(function (item) { return item.toLowerCase().includes('posted using [leofinance') === false; }) .filter(function (item) { return item.toLowerCase().includes('posted via [neoxian') === false; }) + .filter(function (item) { return item.toLowerCase().includes('posted using [neoxian') === false; }) .filter(function (item) { return item.toLowerCase().includes('posted with [stemgeeks') === false; }) .filter(function (item) { return item.toLowerCase().includes('posted using [bilpcoin') === false; }) + .filter(function (item) { return item.toLowerCase().includes('posted using [inleo') === false; }) + .filter(function (item) { return item.toLowerCase().includes('posted using [sportstalksocial]') === false; }) .filter(function (item) { return item.toLowerCase().includes('
\n"},n.blockquote_close=function(e,t){return""+d(e,t)},n.code=function(e,t){return e[t].block?"
"+f(e[t].content)+"
"+d(e,t):""+f(e[t].content)+"
"},n.fence=function(e,t,r,n,i){var o,a,s=e[t],u="",c=r.langPrefix;if(s.params){if(a=(o=s.params.split(/\s+/g)).join(" "),l(i.rules.fence_custom,o[0]))return i.rules.fence_custom[o[0]](e,t,r,n,i);u=' class="'+c+f(h(p(a)))+'"'}return""+(r.highlight&&r.highlight.apply(r.highlight,[s.content].concat(o))||f(s.content))+"
"+d(e,t)},n.fence_custom={},n.heading_open=function(e,t){return""},n.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"
")+(r?d(e,t):"")},n.link_open=function(e,t,r){var n=e[t].title?' title="'+f(h(e[t].title))+'"':"",r=r.linkTarget?' target="'+r.linkTarget+'"':"";return'"},n.link_close=function(){return""},n.image=function(e,t,r){var n=' src="'+f(e[t].src)+'"',i=e[t].title?' title="'+f(h(e[t].title))+'"':"";return""},n.table_open=function(){return""),k=S.DOMParser.parseFromString(y),void e.parentNode.replaceChild(k,e);if(0===n.indexOf("https://hivesigner.com/sign/account-witness-vote?witness=")&&t)e.setAttribute("class","markdown-witnesses-link"),e.setAttribute("data-href",n),e.removeAttribute("href");else{if(0'.concat(b,'
- ').concat(v,"
\n"},n.blockquote_close=function(e,t){return""+d(e,t)},n.code=function(e,t){return e[t].block?"
"+f(e[t].content)+"
"+d(e,t):""+f(e[t].content)+"
"},n.fence=function(e,t,r,n,i){var o,a,s=e[t],u="",c=r.langPrefix;if(s.params){if(a=(o=s.params.split(/\s+/g)).join(" "),l(i.rules.fence_custom,o[0]))return i.rules.fence_custom[o[0]](e,t,r,n,i);u=' class="'+c+f(h(p(a)))+'"'}return""+(r.highlight&&r.highlight.apply(r.highlight,[s.content].concat(o))||f(s.content))+"
"+d(e,t)},n.fence_custom={},n.heading_open=function(e,t){return""},n.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"
")+(r?d(e,t):"")},n.link_open=function(e,t,r){var n=e[t].title?' title="'+f(h(e[t].title))+'"':"",r=r.linkTarget?' target="'+r.linkTarget+'"':"";return'"},n.link_close=function(){return""},n.image=function(e,t,r){var n=' src="'+f(e[t].src)+'"',i=e[t].title?' title="'+f(h(e[t].title))+'"':"";return""},n.table_open=function(){return""),k=S.DOMParser.parseFromString(y),void e.parentNode.replaceChild(k,e);if(0===n.indexOf("https://hivesigner.com/sign/account-witness-vote?witness=")&&t)e.setAttribute("class","markdown-witnesses-link"),e.setAttribute("data-href",n),e.removeAttribute("href");else{if(0'.concat(b,'
- ').concat(v,"