Closed d0c-s4vage closed 1 year ago
Describe the bug
The regex capture of <TUTOR:TYPE> can in tutor markdown can capture beyond the end of the closing >:
<TUTOR:TYPE>
>
.*>
This needs to be change to not be greedy.
To Reproduce
On the 3.0-dev branch, run
lookatme --tutorial quote
Notice that the Rendered section does not actually contain the full rendered markdown
Describe the bug
The regex capture of
<TUTOR:TYPE>
can in tutor markdown can capture beyond the end of the closing>
:.*>
- which is greedyThis needs to be change to not be greedy.
To Reproduce
On the 3.0-dev branch, run
Notice that the Rendered section does not actually contain the full rendered markdown