There is another problem with po4a-translate and Xhtml module that
I've run into.
If the input document contains a group of adjacent comments, those
adjacent comments became integrated as one big comment, preceded by
newlines. The number of preceding newlines is equal to the number of
lines used by the group of comments.
Here is an example input:
The output of `po4a-normalize --format xhtml' is:
Appart from the problem described, here we can see how the last
comment of the group has survived the integration. It looks like it
is saved by the fact that there is no whitespace between the starting
sequence "<!--" and the actual text of the comment
("#include...").
If I put a single space between them, po4a-normalize integrates this
comment alongside with the others:
As a comparament, Html module does much better job to preserve the
structure of the original document:
--
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm