mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
Feat: Rating score display redesign, Rating choosing redesign, added avg rating on the game page
This commit is contained in:
@@ -24,7 +24,7 @@ function decodeHtmlEntities(text: string): string {
|
||||
function removeHtmlTags(html: string): string {
|
||||
let result = "";
|
||||
let inTag = false;
|
||||
|
||||
|
||||
for (const char of html) {
|
||||
if (char === "<") {
|
||||
inTag = true;
|
||||
@@ -34,7 +34,7 @@ function removeHtmlTags(html: string): string {
|
||||
result += char;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user