Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
releasing version 3.20120629
[git.ikiwiki.info.git]
/
doc
/
bugs
/
Problem_with_toc.pm_plug-in.mdwn
diff --git
a/doc/bugs/Problem_with_toc.pm_plug-in.mdwn
b/doc/bugs/Problem_with_toc.pm_plug-in.mdwn
index 8ae347d429726835cd413e026eb0cf8039497e75..6be5f89b5b9ce62b55d0b922924d5646b435eda9 100644
(file)
--- a/
doc/bugs/Problem_with_toc.pm_plug-in.mdwn
+++ b/
doc/bugs/Problem_with_toc.pm_plug-in.mdwn
@@
-9,7
+9,7
@@
Here is a patch for toc.pm for producing non-empty 'a' elements.
--- IkiWiki/Plugin/toc.pm.orig Thu Jun 7 11:53:53 2007
+++ IkiWiki/Plugin/toc.pm Thu Jun 7 13:00:00 2007
--- IkiWiki/Plugin/toc.pm.orig Thu Jun 7 11:53:53 2007
+++ IkiWiki/Plugin/toc.pm Thu Jun 7 13:00:00 2007
- @@ -47,7 +47,7 @@ sub format (@) {
#{{{
+ @@ -47,7 +47,7 @@ sub format (@) {
if ($tagname =~ /^h(\d+)$/i) {
my $level=$1;
my $anchor="index".++$anchors{$level}."h$level";
if ($tagname =~ /^h(\d+)$/i) {
my $level=$1;
my $anchor="index".++$anchors{$level}."h$level";
@@
-18,7
+18,7
@@
Here is a patch for toc.pm for producing non-empty 'a' elements.
# Take the first header level seen as the topmost level,
# even if there are higher levels seen later on.
# Take the first header level seen as the topmost level,
# even if there are higher levels seen later on.
- @@ -90,6 +90,16 @@ sub format (@) {
#{{{
+ @@ -90,6 +90,16 @@ sub format (@) {
"</a>\n";
$p->handler(text => undef);
}, "dtext");
"</a>\n";
$p->handler(text => undef);
}, "dtext");