Browse Source

add missing ui update

Falko Schindler 2 years ago
parent
commit
4be1863f44
1 changed files with 1 additions and 0 deletions
  1. 1 0
      nicegui/elements/markdown.py

+ 1 - 0
nicegui/elements/markdown.py

@@ -21,6 +21,7 @@ class Markdown(Html):
         # we need explicit markdown styling because tailwind css removes all default styles
         # we need explicit markdown styling because tailwind css removes all default styles
         html = Markdown.apply_tailwind(html)
         html = Markdown.apply_tailwind(html)
         super().set_content(html)
         super().set_content(html)
+        self.update()
 
 
     @staticmethod
     @staticmethod
     def apply_tailwind(html: str):
     def apply_tailwind(html: str):