I found a temp solution.
I created a "style.local.css" in \dw2pdf\conf\ and set the default color for folded text to white:
div.folded {
color: white;
}
There may be a better solution but it works for me. I just have to delete the file after exporting my site.