-
-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Labels
need input from Philipptype: docsRelated to the Panel documentation and examplesRelated to the Panel documentation and examples
Milestone
Description
ALL software version info
panel 0.14.2
Description of expected behaviour and the observed behaviour
The markdown object is ignoring the HTML tag <b> when updated with jslink. The example below is from the panel documentation https://panel.holoviz.org/user_guide/Links.html#linking-using-custom-js-code.
Sorry for crossposting, but here I opened a related issue for Holoviews: holoviz/holoviews#5590
Complete, minimal, self-contained example code that reproduces the issue
import panel as pn
pn.extension()
markdown = pn.pane.Markdown("<b>Markdown display</b>", width=400)
text_input = pn.widgets.TextInput(value="Markdown display")
code = '''
target.text = '<b>' + source.value + '</b>'
'''
link = text_input.jslink(markdown, code={'value': code})
pn.Row(text_input, markdown)Screenshots or screencasts of the bug in action
showcase.mp4
Metadata
Metadata
Assignees
Labels
need input from Philipptype: docsRelated to the Panel documentation and examplesRelated to the Panel documentation and examples