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
If you perform a search in the manual and visit one of the results, if the search highlights text that's inside a <pre> tag, new lines are stripped from the <pre> tag's contents - not that the CSS stops preserving line breaks, but the line breaks are actually absent from the HTML text content. The "Remove Highlights" button does not bring them back.
YYDan
changed the title
Line breaks are removed from <pre> contents if the search highlights text within it
Manual Content: Line breaks are removed from <pre> contents when the search facility highlights text within it
Jan 16, 2025
Description
If you perform a search in the manual and visit one of the results, if the search highlights text that's inside a
<pre>
tag, new lines are stripped from the<pre>
tag's contents - not that the CSS stops preserving line breaks, but the line breaks are actually absent from the HTML text content. The "Remove Highlights" button does not bring them back.Examples:

First shader code example is missing line breaks: https://manual.gamemaker.io/monthly/en/#t=GameMaker_Language%2FGML_Reference%2FDrawing%2FVideos%2FYUV_Videos.htm&rhsearch=sampler2d&rhhlterm=sampler2d
Same page, but with a different search having been performed, first shader code example is OK, second shader code section is missing line breaks: https://manual.gamemaker.io/monthly/en/#t=GameMaker_Language%2FGML_Reference%2FDrawing%2FVideos%2FYUV_Videos.htm&rhsearch=video_get_format&rhhlterm=video_get_format

Manual Link
No response
The text was updated successfully, but these errors were encountered: