russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.44k stars 600 forks source link

Fix fenced code in lists #521

Closed aignas closed 5 years ago

aignas commented 5 years ago

This attempts to fix #495 and #485.

Note the test cases which were added at the bottom of the list. The first added test case was passing even before the changes, but the second was not.

Comments are welcome if the change in the existing behaviour is welcome.

rtfb commented 5 years ago

In it goes. Thanks a lot, @aignas!

aignas commented 5 years ago

@rtfb, thanks for taking time to review it!