add EXTENSION_NO_SPACE_LISTS flag to allow making list without a space in both orderedlist and unorderedlist