diff --git a/custom_components/vulcan/fetch_data.py b/custom_components/vulcan/fetch_data.py index de7dda7..f38a58b 100644 --- a/custom_components/vulcan/fetch_data.py +++ b/custom_components/vulcan/fetch_data.py @@ -305,7 +305,7 @@ async def get_latest_message(client): latest_message["content"] = re.sub( re.compile("<.*?>|&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-f]{1,6});"), "", - message.content, + message.content.replace("
", "\n").replace("

", "\n"), ) if message.sender is not None: latest_message["sender"] = message.sender.name