Closed ojchase closed 2 years ago
This is inconsistent. I have other cases that look fine.
It almost looks like the HTML interpretation ignores \n\n
.
Let me know if you see this happening again.
(and thanks for providing the exact information that is needed with your questions!)
Oh it definitely keeps happening. I downloaded several archives yesterday and saw this several times. It's also not necessarily \n\n
. I see it with single \n
as well. It's just not consistent, but I haven't noticed a pattern yet.
(Thanks; I try. I'm a developer myself and know the pain of a vague bug!)
@ojchase
I found that "\n" in a message that has the TEXT field but no HTML field is not interpreted.
Fixed. Replace:
data_text = convertURL(str(msg['text']))
with
data_text = convertURL(str(msg['text']).replace("\n","<br>"))
The fix will be in the next (soon to be released) version.
Again, thanks for sharing!
Example message from webex:
In the JSON output:
HTML:
Rendered HTML: