Rotonde / rotonde-client

Rotonde Base Client
https://client-neauoire.hashbase.io/
MIT License
227 stars 49 forks source link

Fix Entry.format_style "right index" not being reset #149

Closed 0x0ade closed 6 years ago

0x0ade commented 6 years ago

The right index determines the point from which we're continuing to check for any further bracket formats. Unfortunately, ir was never reset to 0 before / after each loop, which means

{*test*} {_test_} {-test-} {%night.png%}

worked fine (we checked for the next {_ after the last *}, the next {- after the last -}, ...), but anything in any other order suddenly didn't work anymore.

Sorry for not having noticed this earlier.