[fpc-devel] fpdoc: ISO8859-1 -> ISO-8859-1

Michael Van Canneyt michael at freepascal.org
Fri May 27 13:31:53 CEST 2005



On Fri, 27 May 2005, Vincent Snijders wrote:

> Michael Van Canneyt wrote:
>> 
>> 
>> On Fri, 27 May 2005, Vincent Snijders wrote:
>> 
>>> Hi,
>>> 
>>> I ran fpdoc generated html files through a html validator and it didn't 
>>> like the ISO8859-1 encoding. Attached patch changes references to 
>>> ISO8859-1 encoding to ISO-8859-1.
>> 
>> 
>> Thanks. Applied.
>> 
>> 
>>> 
>>> I also got errors like:
>>> Error: element NOBR not defined in this HTML version
>>> 
>>> I don't know if and how this can be fixed.
>> 
>> 
>> It is an unofficial IE and Netscape extension to HTML 4.
>> It should not be used, but I don't see how that can be done.
>> 
>
> What if we added to fpdoc.css
> span.code {
>  white-space: nowrap
> }
>
> and in the html replaced
> <nobr><span class="kw">const</span> ARG_MAX <span class="sym">=</span> <span 
> class="num">131072</span><span class="sym">;</span></nobr>
>
> by
> <td><p><tt><span class="code"><span class="kw">const</span> ARG_MAX <span 
> class="sym">=</span> <span class="num">131072</span><span 
> class="sym">;</span></span></tt></p></td>
>
> It seems to work in firefox 1.0.4 and IE 6.0.

Great!

Can you make a patch for this ?

Michael.




More information about the fpc-devel mailing list