# Markdown : Disable highlight.js warning

**URL:** <https://community.plotly.com/t/markdown-disable-highlight-js-warning/69745>\
**Category:** Dash Python\
**Created:** [November 9, 2022, 4:05pm UTC](https://community.plotly.com/t/markdown-disable-highlight-js-warning/69745 "2022-11-09T16:05:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eledwin](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@Eledwin](https://community.plotly.com/u/Eledwin)\
**Post date:** [November 9, 2022, 4:05pm UTC](https://community.plotly.com/t/markdown-disable-highlight-js-warning/69745/1 "2022-11-09T16:05:45Z")

</div>

Hi,

I’m using a markodwn to display the content of a python dictionnary, the markdown content is updated via a callback. It’s working fine but the console is throwing a lot of warning about potential security risk because the markdown create code block with unescaped html :

> react\_devtools\_backend.js:4026 One of your code blocks includes unescaped HTML. This is a potentially serious security risk.

I tried to set the **dangerously\_allow\_htm** l property to false or true, it didn’t change a thing, I tried to supply that setting directly to the **`highlight_config`** but only the theme keywork is accepted…  
I’m running out of idea. Here is my implementation :

````auto
dcc.Markdown(
   '',
   id = f"{name}_display",
   dangerously_allow_html = False,
   mathjax = False,
   dedent = True
)

@callback(
   Output(f"{name}_display", "children"),
   Input(f"update_{name}_display", "n_clicks"),
   Input("control_board_interval", "n_intervals")
)
def getDisplay(click, n_int):
	markdown = (
        f"Value of the {name} object\n"
        "```python\n"
        f"{pprint.pformat(obj, indent=4)}\n"
        "```"
     )
     return markdown

````
