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

Vincent Snijders vsnijders at quicknet.nl
Fri May 27 14:25:48 CEST 2005


Michael Van Canneyt wrote:
> 
> 
> 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 ?
> 

Certainly. Attached is one patch for fpdoc and one for the fpcdocs 
repositry.

Vincent.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fpcdocs.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050527/27b841f9/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fpdoc.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050527/27b841f9/attachment-0001.ksh>


More information about the fpc-devel mailing list