diff --git a/reflex/components/core/html.py b/reflex/components/core/html.py index a732e7828..cfe46e591 100644 --- a/reflex/components/core/html.py +++ b/reflex/components/core/html.py @@ -40,7 +40,7 @@ class Html(Div): given_class_name = props.pop("class_name", []) if isinstance(given_class_name, str): given_class_name = [given_class_name] - props["class_name"] = ["rx-Html", "prose", *given_class_name] + props["class_name"] = ["rx-Html", *given_class_name] # Create the component. return super().create(**props) diff --git a/tests/units/components/core/test_html.py b/tests/units/components/core/test_html.py index cc6530cb6..4847e1d5a 100644 --- a/tests/units/components/core/test_html.py +++ b/tests/units/components/core/test_html.py @@ -19,7 +19,7 @@ def test_html_create(): assert str(html.dangerouslySetInnerHTML) == '({ ["__html"] : "
Hello !
" })' # type: ignore assert ( str(html) - == '