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.11 00.11 MarkupToHTML begin
 3: 00.11 00.11 MarkupToHTML begin
 4: 00.12 00.12 MarkupToHTML end
 5: 00.12 00.12 MarkupToHTML begin
 6: 00.12 00.12 MarkupToHTML end
 7: 00.12 00.12 MarkupToHTML begin
 8: 00.12 00.12 MarkupToHTML end
 9: 00.12 00.12 MarkupToHTML begin
10: 00.13 00.12 MarkupToHTML end
11: 00.13 00.13 MarkupToHTML end
12: 00.14 00.13 MarkupToHTML begin
13: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.15 00.15 MarkupToHTML end
16: 00.15 00.15 MarkupToHTML begin
17: 00.16 00.15 MarkupToHTML end
18: 00.16 00.15 now
Peak memory: 3,417,384 bytes