Skip to content

Commit

Permalink
fix: cleanup custom attributes from dev page code example
Browse files Browse the repository at this point in the history
  • Loading branch information
jouni committed Jan 17, 2025
1 parent 7e06edb commit fa76360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
codeExample.textContent = format(
playground.outerHTML
.replaceAll(
/ tabindex="0"| role="button"| class="playground(.*?)"| style="(.+?)"| theme=""| has-content=""| has-title=""| has-subtitle=""| has-header=""| has-header-prefix=""| has-header-suffix=""| has-footer=""| has-media=""/g,
/ tabindex="0"| role="button"| class="playground(.*?)"| style="(.+?)"| theme=""| _c=""| _t=""| _st=""| _h=""| _hp=""| _hs=""| _f=""| _m=""/g,
'',
)
.replaceAll(/src=".+?"/g, 'src="..."')
Expand Down

0 comments on commit fa76360

Please sign in to comment.