feat(Highlight): fix svelte warn (aria-hidden)
This commit is contained in:
parent
9474e7d3f0
commit
bea68b93d5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
</script>
|
||||
|
||||
<p class="sr-only">{alt}</p>
|
||||
<div class=" font-mono relative" aria-hidden title={alt}>
|
||||
<div class=" font-mono relative" aria-hidden="true" title={alt}>
|
||||
<!-- HACK: apply the pre-wrap style to the child to avoid
|
||||
HTML formatting whitespace issues down the line. -->
|
||||
<div class="*:whitespace-pre-wrap"><Highlight {language} code={renderedCode} /></div>
|
||||
|
|
Loading…
Reference in a new issue