MOBILE-3320 database: Fix link templates

main
Noel De Martin 2021-06-23 17:45:22 +02:00
parent 313f765f37
commit 0e6d65599a
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ export class AddonModDataHelperProvider {
// Add core-link directive to links.
template = template.replace(
/<a ([^>]*href="[^>]*)>/ig,
(match, attributes) => '<button class="as-link" core-link capture="true" ' + attributes + '>',
(match, attributes) => '<a core-link capture="true" ' + attributes + '>',
);
return template;