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