Correct indentation in export, export editor block

The export functions take an indent parameter, so other modules using
them can set what indent they need.