YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

html5 text asset ignores double new line to make new paragraph #8058

Open htewis opened 1 month ago

htewis commented 1 month ago

Description

When creating a text asset in a room and writing several lines of text with newlines and a double new line to make a new paragraph, the empty line is missing in html5, while it is displayed correctly on windows platform (see attached pcitures).

Steps To Reproduce

create text asset with text and do newlines with an empty line in between the text

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

Which platform(s) are you seeing the problem on?

HTML5

Attached Files

e44f5f95-365f-455f-95a1-85ca513618cf

yerumaku commented 1 day ago

This also applies to the description of the pop-up options in the JSDoc documentation, any hyphenation is ignored, and the use of the literal 
 does not work as expected.