diff --git a/src/app/components/shared/tag-cloud/tag-cloud.component.ts b/src/app/components/shared/tag-cloud/tag-cloud.component.ts index 6b55daa0118c15f01e9ecdabe64f180097bd4078..54c9b00f57a357f45ba18bc33fefbcf0ba05f3a9 100644 --- a/src/app/components/shared/tag-cloud/tag-cloud.component.ts +++ b/src/app/components/shared/tag-cloud/tag-cloud.component.ts @@ -68,7 +68,7 @@ class TagComment implements CloudData { const transformationScaleKiller = /scale\([^)]*\)/; const transformationRotationKiller = /rotate\(([^)]*)\)/; -const maskedCharsRegex = /[“â€â€˜â€™â€žâ€šÂ«Â»â€¹â€ºã€Žã€ï¹ƒï¹„「ã€ï¹ï¹‚",《》〈〉'`#&]|((?<=\s)(lu|li’u)(?=\s))|(^lu(?=\s))|((?<=\s)li’u$)/gm; +const maskedCharsRegex = /[“â€â€˜â€™â€žâ€šÂ«Â»â€¹â€ºã€Žã€ï¹ƒï¹„「ã€ï¹ï¹‚",《》〈〉'`#&]|(\s(lu|li’u)(?=\s))|(^lu\s)|(\sli’u$)/gm; @Component({ selector: 'app-tag-cloud',