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.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.22 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML begin
 6: 00.22 00.21 MarkupToHTML end
 7: 00.22 00.21 MarkupToHTML begin
 8: 00.22 00.21 MarkupToHTML end
 9: 00.22 00.21 MarkupToHTML begin
10: 00.22 00.21 MarkupToHTML end
11: 00.23 00.22 MarkupToHTML end
12: 00.24 00.23 MarkupToHTML begin
13: 00.24 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.25 00.24 MarkupToHTML end
16: 00.26 00.24 MarkupToHTML begin
17: 00.26 00.25 MarkupToHTML end
18: 00.26 00.25 now
Peak memory: 3,777,136 bytes