chore: update filter
This commit is contained in:
parent
23edf2d9d9
commit
6848749306
2 changed files with 3 additions and 2 deletions
|
@ -228,7 +228,8 @@ export default {
|
|||
if (
|
||||
normalizedString === 'ios' ||
|
||||
normalizedString === 'macos' ||
|
||||
normalizedString === 'rss'
|
||||
normalizedString === 'rss' ||
|
||||
normalizedString === 'ai'
|
||||
) return `#${string}`
|
||||
if (!string.includes(' ')) return `#${capitalizeFirstLetter(string)}`
|
||||
return `#${string.split(' ').map(s => capitalizeFirstLetter(s)).join('')}`
|
||||
|
|
Reference in a new issue