Skip to content

Commit

Permalink
Add HTML support to paramviewer descriptions (#10083)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliabd authored Dec 1, 2024
1 parent 873dab5 commit b2a21c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/angry-fans-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/paramviewer": minor
"gradio": minor
---

feat:Add HTML support to paramviewer descriptions
2 changes: 1 addition & 1 deletion js/paramviewer/ParamViewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</div>
{/if}
{#if description}
<div class="description"><p>{description}</p></div>
<div class="description"><p>{@html description}</p></div>
{/if}
</details>
{/each}
Expand Down

0 comments on commit b2a21c6

Please sign in to comment.