MOBILE-3320 database: Fix link templates
This commit is contained in:
parent
313f765f37
commit
0e6d65599a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user