Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

gml_string

GML syntax highlighting for games, websites, and more 路 By YellowAfterlife

Html char "<" not escaped

A topic by indieklem created Mar 10, 2024 Views: 65 Replies: 2
Viewing posts 1 to 3

Hi,

On this webpage : https://indieklem.com/creating-a-grid-with-game-maker/ I have the following code:

i < gridWidth

as you can see in my website, this is converted to

<

Do you know how I can fix this?

Developer(+1)

Could try el.innerText instead of el.innerHTML - I guess Wordpress is pre-escaping the < signs even though there鈥檚 no harm in a lone sign inside a pre tag.

Work well, thanks.  馃檶馃徎