nagasurendra commited on
Commit
c4269f9
·
verified ·
1 Parent(s): 242e1e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def order_history():
94
  cleaned_details = re.sub(r'http[s]?://\S+', '', order_details)
95
 
96
  # Now split the cleaned details by lines and join them with <br> to create line breaks
97
- cleaned_details = cleaned_details.replace("\n", "<br>")
98
 
99
  # Update the order details with the cleaned and formatted details
100
  order['Order_Details__c'] = cleaned_details
 
94
  cleaned_details = re.sub(r'http[s]?://\S+', '', order_details)
95
 
96
  # Now split the cleaned details by lines and join them with <br> to create line breaks
97
+ cleaned_details = cleaned_details.replace("\n", " ")
98
 
99
  # Update the order details with the cleaned and formatted details
100
  order['Order_Details__c'] = cleaned_details