MOBILE-3320 database: Fix link templates
parent
313f765f37
commit
0e6d65599a
|
@ -658,7 +658,7 @@ export class AddonModDataHelperProvider {
|
||||||
// Add core-link directive to links.
|
// Add core-link directive to links.
|
||||||
template = template.replace(
|
template = template.replace(
|
||||||
/<a ([^>]*href="[^>]*)>/ig,
|
/<a ([^>]*href="[^>]*)>/ig,
|
||||||
(match, attributes) => '<button class="as-link" core-link capture="true" ' + attributes + '>',
|
(match, attributes) => '<a core-link capture="true" ' + attributes + '>',
|
||||||
);
|
);
|
||||||
|
|
||||||
return template;
|
return template;
|
||||||
|
|
Loading…
Reference in New Issue