Hi. I'm doing a tour, with requires inserting a mock in a unit test.
And found this bug:
The Insert Code option, in inserting the "new line" character at the end of the code block too:
. . . \n```
The "line" parameter of the tour thought, just add up the amount of code lines, not the extra \n bit.
So it offsets the tour box from the original line.
Without this new line between code and the closing back-ticks, it doesn't match the code block sintax, so the option is not available
Hi. I'm doing a tour, with requires inserting a mock in a unit test. And found this bug:
The
Insert Code
option, in inserting the "new line" character at the end of the code block too: . . . \n ```The "line" parameter of the tour thought, just add up the amount of code lines, not the extra
\n
bit. So it offsets the tour box from the original line.Without this new line between code and the closing back-ticks, it doesn't match the code block sintax, so the option is not available