[fpc-devel] bug in fpdoc HTML output - double spacing

Amat Coder amatcoder at gmail.com
Mon Nov 8 10:31:44 CET 2010


Graeme wrote:

>...Because what if you remove
>fpdoc.ss completely, then you still see the double spacing, yet in older
>fpdoc versions there was no double spacing...

You can do that:
Edit html and delete "http://www.w3.org/TR/html4/loose.dtd" from first line

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">

and even if you don't use any css you can see that no double spacing.

This is because 'dtd'  forces some elements if they are not defined...

Dtd declaration was introduced on May,30 2010 with revision 15345.

Please see
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=15345

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20101108/dfff6dde/attachment.html>


More information about the fpc-devel mailing list