GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.11k stars 160 forks source link

Web/HTML5 version of Lesson 24 Practice 1 text rendering bug #678

Closed phealy3330 closed 2 years ago

phealy3330 commented 2 years ago

I'm submitting a...

Bug report

What is the current behavior? The description of the practice displays

Call the use_item() function with the item as an argument to use an item. For example, you can use the first item by calling use_i])])[/code].

What is the expected behavior? The description should display

Call the use_item() function with the item as an argument to use an item. For example, you can use the first item by calling use_item(inventory[0]).

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem. Open the lesson practice here: https://gdquest.github.io/learn-gdscript/#course/lesson-24-access-array-indices/practice-ErO9L4MW.tres

Other information The desktop app doesn't have this same issue

NathanLovato commented 2 years ago

I'm suspecting that the regular expressions don't work great in the browser, as there have been some weird, platform-specific bugs like this. Thanks for the report. For this feature, I think we need more robust text parsing code.