• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Attach an image and checkmark the link checkbox. You get:

   * file.gif: <br />


  • The image tag is missing
  • The bullet is preceeded by a tab

It should produce:

   * file.gif: <br />
     <img src="%ATTACHURLPATH%/file.gif" alt="file.gif"  width="17" height="15"  />

I am concerned about the quality of TWiki, every day I work on TWiki I discover and file a few bugs.

-- PTh

Was this a typo? Did you check the box to create the link? Because I get the image tag when I do.

As for the tab vs spaces, IIR Dakar treats leading tabs as spaces. See line 273 of Render.pm. Sorry, I don't recall where its documented, but try TWiki:Codev/StopSpaceTabMunging. Tryediting the topic.

-- AJA

Not a typo. I attached an image (with checkbox) to Sandbox.TestTopic21.

  • ... but when I go into 'manage' and set the checkbox, the image apears .... -- AJA
-- PTh

This is because the attached image format is defined in TWikiPreferences, and is broken over two lines using the indent feature for extending set values. The indent feature was reimplemented as described in the cairo documentation, but unfortunately this documentation was inconsistent with the code. The indent does not start with a multiple of three spaces, so the value gets the first line only.

The tab is caused by a hack inherited from Cairo, that replaces three spaces with tabs in this special case. I hadn't noticed it because Dakar treates tabs and 3 spaces as equivalent. I removed it just to be consistent.

SVN 7444

If you are concerned about the quality of TWiki, how about contributing some fixes, or some testcases, or even reviewing the documentation?


I am doing the best I can. Just for the records, I am already spending several hours a day on open source twiki. Do you prefer that I hunt for more bugs before the release, or fix bugs and live with bugs in the release?

BTW, minor issue, but the tabs are still tabs.

-- PTh

The tab has to remain a tab. The reason is that the string is defined in a TWiki variable, and all spaces are removed off the front of a TWiki variable definition when it is parsed.


Summary Link checkbox to attached image broken
ReportedBy PeterThoeny
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 7444
Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif penny-farthing.gif r1 manage 0.3 K 2005-11-13 - 13:38 UnknownUser  
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2005-11-14 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback