You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newlines were recently added to weather alerts. They are added in the middle of sentences where they shouldn't be.
Expected behavior
I expect the text to have each section separated by newlines, but not wrap early.
"* WHAT...Visibility Below One Half Mile In Dense Fog.
* WHERE...Portions Of Northwest And West Central Iowa, Southwest Minnesota, And Central, East Central, South Central, And Southeast South Dakota.
* WHEN...Until 10 AM CST This Morning.
* IMPACTS...Low Visibility Could Make Driving Conditions Hazardous."
Southwest Minnesota ... Southeast South Dakota
Actual behavior
Example:
"* WHAT...Visibility Below One Half Mile In Dense Fog.
* WHERE...Portions Of Northwest And West Central Iowa, Southwest
Minnesota, And Central, East Central, South Central, And Southeast
South Dakota.
* WHEN...Until 10 AM CST This Morning.
* IMPACTS...Low Visibility Could Make Driving Conditions Hazardous."
Southwest \n Minnesota ... Southeast \n South Dakota
It's like the text is wrapped at a certain column, but since websites are dynamically sized, this wouldn't look good if I replaced the newlines with <br>, because the lines would be in the wrong place.
API Endpoint
Production
Location
Sioux Falls, SD
Other details
No response
Troubleshooting steps
I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
I have read through the API documentation before opening this issue.
I have not included my API key anywhere in my issue.
I have written an informative title.
The text was updated successfully, but these errors were encountered:
Since I'm converting the result to HTML anyway, it's easiest for me to just ignore the line breaks and add <br> after each section. (Rather than replacing \n with <br>)
Describe the bug
Newlines were recently added to weather alerts. They are added in the middle of sentences where they shouldn't be.
Expected behavior
I expect the text to have each section separated by newlines, but not wrap early.
Southwest Minnesota ... Southeast South Dakota
Actual behavior
Example:
Southwest \n Minnesota ... Southeast \n South Dakota
It's like the text is wrapped at a certain column, but since websites are dynamically sized, this wouldn't look good if I replaced the newlines with
<br>
, because the lines would be in the wrong place.API Endpoint
Production
Location
Sioux Falls, SD
Other details
No response
Troubleshooting steps
The text was updated successfully, but these errors were encountered: