fix: daily report HTML line breaks without double spacing
Use single <br> in report_html and document DAILY_REPORT_ENABLED toggle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -1796,7 +1796,7 @@ stats = {
|
||||
"generated_by": "agent",
|
||||
}
|
||||
escaped = html.escape(body)
|
||||
report_html = '<div class="agent-report">' + escaped.replace("\n", "<br>\n") + "</div>"
|
||||
report_html = '<div class="agent-report">' + escaped.replace("\n", "<br>") + "</div>"
|
||||
print(
|
||||
json.dumps(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user