Open mauroagr opened 2 years ago
@mauroagr Can you give me example of arduino code, please? It would be very helpfull.
hi @urvanov-ru, Here > https://www.usinainfo.com.br/blog/labirinto-com-arduino-um-jogo-de-equilibrio-com-obstaculos/ In this version the code are updated with the 'replace' code that i suggest in pull. Thanks Mauro
Sorry, @mauroagr but I don't like this fix. It removes non-break space fro the code. Non-break space can be added for some reasons, for example, in string literals. Are you sure that you original code does not contain nbsp instead of normal spaces?
And sorry, but I don't understand why do we need to normalize like this:
var plainTextCode = plainTextCode.normalize('NFD')
What this line suppose to do?
When i copy using button copy, some space are change to charcter unicode u00a0, and this cause bugs in arduino code; I add the replace to solve this.