mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
do not escape ×
This commit is contained in:
@@ -82,7 +82,7 @@ function escapeTitle(title) {
|
|||||||
.replace(/[\u0300-\u036F]/g, '')
|
.replace(/[\u0300-\u036F]/g, '')
|
||||||
.replace(/&/g, 'and')
|
.replace(/&/g, 'and')
|
||||||
.replace(/[;, ~./]+/g, ' ') // replace dots, commas or underscores with spaces
|
.replace(/[;, ~./]+/g, ' ') // replace dots, commas or underscores with spaces
|
||||||
.replace(/[^\w \-()+#@!'\u0400-\u04ff]+/g, '') // remove all non-alphanumeric chars
|
.replace(/[^\w \-()×+#@!'\u0400-\u04ff]+/g, '') // remove all non-alphanumeric chars
|
||||||
.replace(/^\d{1,2}[.#\s]+(?=(?:\d+[.\s]*)?[\u0400-\u04ff])/i, '') // remove russian movie numbering
|
.replace(/^\d{1,2}[.#\s]+(?=(?:\d+[.\s]*)?[\u0400-\u04ff])/i, '') // remove russian movie numbering
|
||||||
.replace(/\s{2,}/, ' ') // replace multiple spaces
|
.replace(/\s{2,}/, ' ') // replace multiple spaces
|
||||||
.trim();
|
.trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user