caarleexx commited on
Commit
dcfc26e
·
verified ·
1 Parent(s): 569fee8

Update frontend/app.py

Browse files
Files changed (1) hide show
  1. frontend/app.py +2 -2
frontend/app.py CHANGED
@@ -612,9 +612,9 @@ async def main(message: cl.Message):
612
  ementa = formatar_ementa(ementa)
613
  if ementa:
614
  trecho = ementa # + ("..." if len(ementa) > 1500 else "")
615
- linhas = trecho.replace("\n", "\n ")
616
  conteudo_final.append(
617
- f"\n```ementa\n{linhas}\n```\n"
618
  )
619
  tag_buf = tag_buf[m.end():]
620
  elif "<" in tag_buf:
 
612
  ementa = formatar_ementa(ementa)
613
  if ementa:
614
  trecho = ementa # + ("..." if len(ementa) > 1500 else "")
615
+ linhas = trecho.replace("\n", "\n>")
616
  conteudo_final.append(
617
+ f"\n>{linhas}\n\n"
618
  )
619
  tag_buf = tag_buf[m.end():]
620
  elif "<" in tag_buf: