sdhanabal1 commited on
Commit
1852274
1 Parent(s): 839b745

Test html rendering error

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -52,7 +52,6 @@ def main() -> None:
52
  replaced_text = replaced_text.replace(sentence, f"<mark>{sentence}</mark>")
53
  replaced_text = replaced_text.replace('\n', '<br/>')
54
  with st.container():
55
- st.write('<style>mark{background-color:yellow;}</style>', unsafe_allow_html=True)
56
  st.markdown(replaced_text, unsafe_allow_html=True)
57
 
58
  def is_valid_url(url: str) -> bool:
 
52
  replaced_text = replaced_text.replace(sentence, f"<mark>{sentence}</mark>")
53
  replaced_text = replaced_text.replace('\n', '<br/>')
54
  with st.container():
 
55
  st.markdown(replaced_text, unsafe_allow_html=True)
56
 
57
  def is_valid_url(url: str) -> bool: