Test 00962

Test of a local customisation to meet PITS:00962

See PITS:00962.

This page contains the following local customization:

Markup('^>>', '<table',
  '/^&gt;&gt;(.+?)&lt;&lt;(.*)$/',
  '(:div $1:)$2 ');

With it, >><< behaves the same way as the (:div:) markup -- which some find more consistent.

style - single quotes
||style='color:purple; background-color:silver;' width=*
||content  ||
content
style - single quotes
(:table style='color:purple; background-color:silver;':)
(:cellnr:)content 
(:tableend:)
content
style - single quotes
(:div style='color:purple; background-color:silver;':)
content
(:divend:)

content

The fix requested is to allow the following markup

style - single quotes
>> style='color:purple; background-color:silver;' <<
content
>><<

content

The following markup will actually do what you want

no style=, no quotes, no semicolons
>> color:purple background-color:silver <<
content
>><<

content

But the above markup does not work consistently

no style=, no quotes, no semicolons
||color:purple background-color:silver width=*
||content  ||
content
no style=, no quotes, no semicolons
(:table color:purple background-color:silver:)
(:cellnr:)content
(:tableend:)
content

More examples

>>rfloat width:100<<
Consistency is one of the virtues of a good user interface, particularly when naive users are involved.
>><<

Consistency is one of the virtues of a good user interface, particularly when naive users are involved.

>>rfloat style="width:100px";<<
Consistency is one of the virtues of a good user interface, particularly when naive users are involved.
>><<

Consistency is one of the virtues of a good user interface, particularly when naive users are involved.

Not very consistent is it
>>rfloat width:100px<<
Consistency is one of the virtues of a good user interface, particularly when naive users are involved.
>><<

Consistency is one of the virtues of a good user interface, particularly when naive users are involved.

 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.21 00.20 MarkupToHTML end
 5: 00.21 00.20 MarkupToHTML begin
 6: 00.21 00.21 MarkupToHTML end
 7: 00.21 00.21 MarkupToHTML begin
 8: 00.21 00.21 MarkupToHTML end
 9: 00.21 00.21 MarkupToHTML begin
10: 00.22 00.21 MarkupToHTML end
11: 00.22 00.21 MarkupToHTML begin
12: 00.22 00.21 MarkupToHTML end
13: 00.22 00.21 MarkupToHTML begin
14: 00.22 00.21 MarkupToHTML end
15: 00.22 00.21 MarkupToHTML begin
16: 00.22 00.21 MarkupToHTML end
17: 00.22 00.21 MarkupToHTML begin
18: 00.22 00.21 MarkupToHTML end
19: 00.22 00.21 MarkupToHTML begin
20: 00.22 00.21 MarkupToHTML end
21: 00.22 00.21 MarkupToHTML begin
22: 00.22 00.21 MarkupToHTML end
23: 00.23 00.22 MarkupToHTML end
24: 00.24 00.23 MarkupToHTML begin
25: 00.24 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
26: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
27: 00.25 00.24 MarkupToHTML end
28: 00.25 00.24 MarkupToHTML begin
29: 00.26 00.25 MarkupToHTML end
30: 00.26 00.25 now
Peak memory: 3,737,672 bytes