Tags:
create new tag
, view all tags

Question

When I create an anchor at the start of a line between two list items, the next list item in the formatted page has a line skipped before it; also, if the next list item is not at the top indentation level of the list, it has multiple bullets displayed. For an example, see http://twiki.org/cgi-bin/view/Sandbox/BulletAnchorBug

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows 2000
Web Browser: Netscape 7.2
Categories: Missing functionality

-- PeterShenkin - 07 Dec 2004

Answer

I think the only way round this is to code the anchor yourself using the <A> element in HTML - TWiki anchors seem to force a new paragraph, since they must be on a line by themselves.

The code in this area is a bit challenging - I tried to get the paragraph rendering to work better a while back but it wasn't as easy as it looks.

-- RichardDonkin - 10 Dec 2004

A bullet ends with an empty line or a line that does not start with whitespace. The following currently does not work, but the code could be enhanced to support a jump to #AnchorTwo sitting between 1 and 2:

   1. one
      #AnchorTwo
   1. two
   1. three

-- PeterThoeny - 11 Dec 2004

Thanks for the responses. -- PeterShenkin - 13 Dec 04

-- PeterShenkin - 13 Dec 2004

 
Topic revision: r4 - 2004-12-13 - PeterShenkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.