diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja b/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja index 04379d0..641b8b8 100644 --- a/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja +++ b/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja @@ -106,7 +106,7 @@ Context: {%- include "expression"|get_template with context -%} {%- endwith -%} {%- else -%} - {{ parameter.default }} + {{ parameter.default|safe }} {%- endif -%} {%- endif -%}