Unpublished HTML modules seem to be included in the export packages, but the content is actually imported as an empty structure.
To reproduce the problem:
- Create an HTML module on a page and add some text to it.
- Without publishing it, create a full export of the site.
- Import it on a clean portal.
- The HTML module is on the page, but it is empty.
This is the intended behavior, by design. To ensure a module is imported into the new portal, always publish the page before exporting it.