Skip to content

Commit 11443ea

Browse files
author
Ruben Gomez
committed
Undo changes in link format for base components
1 parent 0d859a7 commit 11443ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

polaris/components/base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ class BaseComponent extends HTMLElement {
181181
}
182182

183183
// Create a properly formatted HTML string
184-
return '<a href="' + domain + '">' + linkText + '</a>';
184+
return '"' + linkText + '"' +
185+
(domain ? ' [' + domain + ']' : '');
185186
});
186187

187188
return text;

0 commit comments

Comments
 (0)