coeuslearning commited on
Commit
6d4301b
1 Parent(s): f97d79d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -85,6 +85,8 @@ def generate(
85
  def format_for_html(text):
86
  text = text.replace(" ", " ")
87
  text = text.replace("\n", "")
 
 
88
  return text
89
 
90
  # Using the function
 
85
  def format_for_html(text):
86
  text = text.replace(" ", " ")
87
  text = text.replace("\n", "")
88
+ text = text.replace("<", "&lt;")
89
+ text = text.replace(">", "&gt;")
90
  return text
91
 
92
  # Using the function