Tags:
create new tag
view all tags
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:

&gt TR BGCOLOR=#xxxxxx &lt

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

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2000-01-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.