Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-05

fpdoc: ISO8859-1 -> ISO-8859-1

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

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.

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.

Vincent.

Reply by email

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 5 lines
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.

Show quoted text 5 lines
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.

Michael.

Reply by email

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 24 lines
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.

Reply by email

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 41 lines
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.

Reply by email

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 54 lines
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.

Reply by email