Skip to content

Commit

Permalink
encode and render slash entity
Browse files Browse the repository at this point in the history
  • Loading branch information
gluneau committed Feb 12, 2024
1 parent 4a87a65 commit faaa604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/FirebaseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class FirebaseService implements IFirebaseService {
dapp.images = images.filter((x) => x !== null) as FileInfo[];
}

dapp.shortDescription = this.decode(dapp.shortDescription ?? '');
return dapp;
}

Expand Down Expand Up @@ -236,6 +237,7 @@ export class FirebaseService implements IFirebaseService {
data.forEach((x) => {
const data = x.data() as DappItem;
data.creationTime = x.createTime.seconds;
data.shortDescription = this.decode(data.shortDescription ?? '');
result.push(data);
});

Expand Down

0 comments on commit faaa604

Please sign in to comment.