Skip to content

Commit

Permalink
Unescape child literal HTML in ReactiveHTML (#2690)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Aug 30, 2021
1 parent 492f418 commit 36f621c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/models/reactive_html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class ReactiveHTMLView extends PanelHTMLBoxView {
private _render_child(model: any, el: Element): void {
const view: any = this._child_views.get(model)
if (view == null)
el.innerHTML = model
el.innerHTML = htmlDecode(model) || model
else {
view._parent = this
view.renderTo(el)
Expand Down

0 comments on commit 36f621c

Please sign in to comment.