Hi Carsten,

Carsten Dominik wrote:
>> To be sure that CSS rules don't apply to missing contents, there's no need
>> to output DIV preamble opening and closing tags if there is nothing in
>> between.
>
> are there adverse effects when an empty div is in the file?

Yes, there are, reason for such patch.

In some style I'm working on for the site I'm publishing, I'm using a quite
large banner in black background as site's preamble. That works OK.

But, even for exporting a single page (no publish, I mean, just `C-x C-e b'),
I got this black background coming into play, while I had *no preamble set* for
those orphan pages.

Hence, the patch to remove such a preamble when it is essentially empty.

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to