Handle section with empty blocs
When adding an empty bloc to a section, the resulting document contains lines with ==
.
Consider removing the empty blocs in the Add Blocs
function.
NOTE: in the lvproj add-on it's done outside the function. It must be the responsibility of the API to check and fix this kind of issue.