WikiWordsAndStyles


The div definition is broken by the WikiWord interpretation:

>>id='MyDiv'<<
Here's the bug...
>><<
%div id='MyDiv?' apply=div%

Here's the bug...

>>id='myDiv'<<
For now, avoid initial caps in divs.  
>><<

For now, avoid initial caps in divs.

>>id='Mydiv'<<
Or avoid a second cap 
>><<

Or avoid a second cap

See ShowHide? comments

Neutralizing the WikiWord does not seem to work:

1
>>id='`MyDiv'<<
2
>>id='My`Div'<<
3
>>id=`'MyDiv'<<
4
>>id=`MyDiv<<
5
>>`MyDiv<<
6
>> `MyDiv<<
>><<

1

%div id='MyDiv' apply=div%

2

%div id='My`Div' apply=div%

3

%div id=`'MyDiv?' apply=div%

4

%div id=MyDiv apply=div%

5

%div MyDiv apply=div%

6

%div MyDiv apply=div%

Note: When >>id='WikiWord'<< renders as %div id='WikiWord' apply=div% the 'WikiWord' is wrapped in a <span class='wikiword>WikiWord</span>


%div id='MyDiv' apply=div%

1

%div id='My`Div' apply=div%

2

%div id=`'MyDiv?' apply=div%

3

%div id=MyDiv apply=div%

4

%div MyDiv apply=div%

5

%div MyDiv apply=div%

6

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.22 00.21 MarkupToHTML begin
 3: 00.22 00.21 MarkupToHTML begin
 4: 00.23 00.22 MarkupToHTML end
 5: 00.23 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.23 00.22 MarkupToHTML begin
10: 00.23 00.22 MarkupToHTML end
11: 00.24 00.23 MarkupToHTML end
12: 00.25 00.24 MarkupToHTML begin
13: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.27 00.26 MarkupToHTML end
16: 00.27 00.26 MarkupToHTML begin
17: 00.27 00.26 MarkupToHTML end
18: 00.27 00.26 now
Peak memory: 3,762,712 bytes