Skip to content

shiny.ui.accordion_panel stopped working with HTML type input parameter due to changes in htmltools dependency #1827

@vinaybenny

Description

@vinaybenny

shiny.ui.accordion_panel checks if the title parameter is an instance of str. It used to work with express.ui.HTML type input parameters, like ui.markdown. express.ui.HTML inherits from htmltools dependency. htmltools has undergone a change from version 0.6.0 wherein the HTML type no longer inherits from str. This breaks the isinstance(title, str) check that happens in the shiny.ui.accordion_panel.

With htmltools v0.5.3:
Image

With htmltools v0.6.0:
Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions