MOBILE-4176 grades: Fix activity names

main
Noel De Martin 2022-12-01 13:22:26 +01:00
parent de29903320
commit 9306378f1b
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ export class CoreGradesHelperProvider {
content = CoreTextUtils.cleanTags(content); content = CoreTextUtils.cleanTags(content);
} else { } else {
// The activity type won't be included in the webservice response if behat is running. // The activity type won't be included in the webservice response if behat is running.
content = CoreAppProvider.isAutomated() ? content : content.replace(/<span[^>]+>.+?<\/span>/gi, ''); content = CoreAppProvider.isAutomated() ? content : content.replace(/<span[^>]+>.+?<\/span>/i, '');
content = CoreTextUtils.cleanTags(content, true); content = CoreTextUtils.cleanTags(content, true);
} }