MOBILE-4176 grades: Fix activity names
parent
de29903320
commit
9306378f1b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue