-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
area:stylingRelated to styling and appearanceRelated to styling and appearancefeature:markdownRelated to Markdown renderingRelated to Markdown renderingtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior
Description
Summary
HTML code in st.markdown was working okay in streamlit version 0.79.0. But with version 0.80.0, it's not giving the desired output.
Steps to reproduce
Code snippet: (line 32)
import streamlit as st
st.markdown("<h1 style='text-align: center; color: #ff7903; font-family: Solaimanlipi'>গতি-সমীকরণ ক্যালকুলেটর </h1>", unsafe_allow_html=True)
Expected behavior:
The title line গতি-সমীকরণ ক্যালকুলেটর is expected to be aligned at the center, its text color should be #ff7903 and the font family should be Solaimanlipi.
Actual behavior:
The title line গতি-সমীকরণ ক্যালকুলেটর is aligned at the left (also having indentation issue, breaks the left margin in minimized screen), its text color and font-family remain with the default values.
Is this a regression?
This problem didn't appear in version 0.79.0.
Debug info
- Streamlit version: 0.80.0
- Python version: 3.8.3
- Using Conda
- OS version: Windows 10 Pro
- Browser version: Google Chrome Version 89.0.4389.114 (Official Build) (64-bit)
Additional information
Metadata
Metadata
Assignees
Labels
area:stylingRelated to styling and appearanceRelated to styling and appearancefeature:markdownRelated to Markdown renderingRelated to Markdown renderingtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior