LinkMarkupClass


Trying to apply classes to separate links on the same page causes the last class to be applied to all links.

NOTE: Needs $WikiStyleApply['link'] = 'a'; in config.php.

%apply=link class=A%[[url | A]]%% - %apply=link class=B%[[url | B]]%%

* %apply=link class="A B"%[[url | A B]]%% - %apply=link class="C D"%[[url | C D]]%%

A? - B?

%apply=link class=A%[[url | A]]%%
%apply=link class=B%[[url | B]]%%

* %apply=link class="A B"%[[url | A B]]%% - 
  %apply=link class="C D"%[[url | C D]]%%

A? B?

%apply=a class=A%[[url | A]]%% - %apply=a class=B%[[url | B]]%%

* %apply=a class="A B"%[[url | A B]]%% - %apply=a class="C D"%[[url | C D]]%%

%apply=a class=A%[[url | A]]%%
%apply=a class=B%[[url | B]]%%

* %apply=a class="A B"%[[url | A B]]%% - 
  %apply=a class="C D"%[[url | C D]]%%

A? - B?

A? B?

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.12 00.11 MarkupToHTML begin
 4: 00.13 00.12 MarkupToHTML end
 5: 00.13 00.12 MarkupToHTML begin
 6: 00.13 00.13 MarkupToHTML end
 7: 00.13 00.13 MarkupToHTML begin
 8: 00.14 00.13 MarkupToHTML end
 9: 00.15 00.14 MarkupToHTML end
10: 00.15 00.14 MarkupToHTML begin
11: 00.16 00.15 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
12: 00.16 00.16 ReadApprovedUrls SiteAdmin.ApprovedUrls end
13: 00.17 00.16 MarkupToHTML end
14: 00.17 00.16 MarkupToHTML begin
15: 00.18 00.17 MarkupToHTML end
16: 00.18 00.17 now
Peak memory: 3,289,672 bytes