Hello, I'm having a little problem when I want to insert a code block inside a list. Here is an example: ===== 1. Drawing is following: #+BEGIN_SRC asymptote :file drawing.pdf unitsize(5cm); draw(unitcircle); #+END_SRC Now find its center with compass only. 2. Another item. ===== Upon exporting this, as the code is removed, the blank lines surrounding it join together, creating a 2-blank-lines combo very bad for the list processing taking place a few lines later. Indeed, when `org-export-preprocess-string' proceeds marking list endings in the export string, it sees there two separates lists instead of one. So, the following patch moves `org-export-blocks-preprocess' out of its hook (now babel is in Org core this isn't needed anymore), and make it called somewhat later, after list processing (and after removing excluded and archived trees). Regards, -- Nicolas