Kieran Gookey commited on
Commit
08e355f
·
1 Parent(s): 78a3a2f

Write html in code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ if html_file is not None:
51
  stringio = StringIO(html_file.getvalue().decode("utf-8"))
52
  string_data = stringio.read()
53
  with st.expander("Uploaded HTML"):
54
- st.write(string_data)
55
 
56
  document_id = str(uuid.uuid4())
57
 
 
51
  stringio = StringIO(html_file.getvalue().decode("utf-8"))
52
  string_data = stringio.read()
53
  with st.expander("Uploaded HTML"):
54
+ st.code(string_data, language='html')
55
 
56
  document_id = str(uuid.uuid4())
57