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.01 00.01 config end
 2: 00.21 00.21 MarkupToHTML begin
 3: 00.22 00.21 MarkupToHTML begin
 4: 00.22 00.22 MarkupToHTML end
 5: 00.22 00.22 MarkupToHTML begin
 6: 00.23 00.22 MarkupToHTML end
 7: 00.23 00.22 MarkupToHTML begin
 8: 00.23 00.22 MarkupToHTML end
 9: 00.24 00.23 MarkupToHTML end
10: 00.24 00.23 MarkupToHTML begin
11: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
12: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
13: 00.26 00.25 MarkupToHTML end
14: 00.26 00.25 MarkupToHTML begin
15: 00.26 00.25 MarkupToHTML end
16: 00.26 00.25 now
Peak memory: 3,783,088 bytes