[fpc-devel] fpdoc: ISO8859-1 -> ISO-8859-1
Vincent Snijders
vsnijders at quicknet.nl
Fri May 27 13:23:00 CEST 2005
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.
Vincent.
More information about the fpc-devel
mailing list