-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Prework
- Read and agree to the code of conduct and contributing guidelines.
- If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
The formatting of step briefs is incorrect when rendered using streamlit.
Reproducible example
import pointblank as pb
import streamlit as st
st.set_page_config(layout="wide")
validation = (
pb.Validate(data=pb.load_dataset(dataset="small_table"))
.col_vals_gt(columns="d", value=1000, brief="{auto}")
.col_vals_le(columns="c", value=5, brief="**This {step}** description is kinda big and ugly...")
.col_exists(columns=["date", "date_time"])
.interrogate()
)
st.html(validation)
Output:
Expected result
The brief text should be formatted as expected. See the screenshot from #127 below:

Development environment
- Operating System: Windows 10/11, Python 3.10.11 and 3.11.9
- Pointblank Version: 0.8.4
- Streamlit Version: 1.44.0
Additional context
My initial thought is this is related to how streamlit renders HTML. From some cursory investigation, it is a sandboxed environment that limits certain functionality (similar to how data extracts do not download in streamlit - this example also covers that scenario).