possible a bug in in %INCLUDE:
if i edit webcolor.incl (contains only #xxxxxx) with vi the result is a 8 byte file. this file will result in non working colors in wikiwebtable.inc.
the result is like this:
> TR BGCOLOR=#xxxxxx <
works fine if i create wikiwebcolor.inc the following way
cat > wikiwebcolor.inc
#xxxxxx^D
is a 7 byte file ...
--
ThomasVogel - 20 Jan 2000
Thomas, this is not a bug in include, it is a limitation of
HTML.
HTML apparently does not allow to have a tag spread over more then one line. Lets look at the template of our case:
<TD BGCOLOR="%INCLUDE:"webcolor.inc"%" rowspan="2" valign="top" width="1%">
This line is split in two if there is a new line in file webcolor.inc:
<TD BGCOLOR="#112233
" rowspan="2" valign="top" width="1%">
This is not correct
HTML. That means, you must not have a new line in file webcolor.inc.
--
PeterThoeny - 20 Jan 2000