Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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", "
|
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
|