Tags:
create new tag
view all tags

Question

  • TWiki version: 01 Feb 2003
  • Perl version: v5.6.1
  • Web server & version: Apache/1.3.27 OpenSSL/0.9.6g (Unix) mod_gzip/1.3.19.1a mod_perl/1.21
  • Server OS: FreeBSD kencorey.com 4.4-RELEASE FreeBSD 4.4-RELEASE #9: Thu Jan 2 10:23:51 MST 2003 root@fc:/usr/src/sys/compile/VKERN i386
  • Web browser & version: *
  • Client OS: *

Hi All,

This is actually a duplicate topic, because I posted it first in the support group. It's the exact same topic and patch file as the one in the support area.

I'd like to make a proposal for designating a 'class' tag to be introduced into generated anchor tags.

Specifically, for tags generated like this: [[blah#anchor~stylename][Text to display]]. This will turn into

<a href="whatever#anchor" class="stylename">Text to display</a>

This might be useful in other linked situations. Currently the code to support this is added to the specificLink function, but it might actually be useful in the internalLink function so as to cover more generated links.

What do you guys think?

The change is quite simple...I've attached the diffs as a patch file called 'patch.txt'. To apply the patch, try:

   $ patch TWiki.pm patch.txt
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt classproperty.txt r1 manage 1.7 K 2003-03-21 - 11:37 UnknownUser  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-03-21 - KenCorey
 
  • 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.