hedy icon indicating copy to clipboard operation
hedy copied to clipboard

[BUG] Finishing empty lines are not allowed on the translator

Open jpelay opened this issue 2 years ago • 1 comments

Describe the bug Now that we solved issue #1140, the same thing is happening on levels 4 onward in the translator. For example on level 3 we have the following program as an example:

print 'Hola mundo'
        

Notice the spaces after the print (I didn't add them, they're there by default btw) So if I try to use the button to translate this to Spanish I get the following error:

image

It is caused by the spaces, If I remove them, it works fine.

Expected behavior

Since it works on the transpiler, it should work on the translator as well.

jpelay avatar Mar 31 '22 01:03 jpelay

I can't seem to reproduce this issue. Does it still exist?

arjank avatar Jun 21 '22 17:06 arjank

This seems to not be a problem anymore, I also can't reproduce it (and we only show this for the admin user, anyway)

Felienne avatar Dec 03 '22 12:12 Felienne