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.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.03 00.03 MarkupToHTML end
 5: 00.03 00.03 MarkupToHTML begin
 6: 00.03 00.03 MarkupToHTML end
 7: 00.03 00.03 MarkupToHTML begin
 8: 00.03 00.03 MarkupToHTML end
 9: 00.03 00.03 MarkupToHTML begin
10: 00.04 00.03 MarkupToHTML end
11: 00.04 00.03 MarkupToHTML begin
12: 00.04 00.03 MarkupToHTML end
13: 00.04 00.03 MarkupToHTML begin
14: 00.04 00.04 MarkupToHTML end
15: 00.04 00.04 MarkupToHTML begin
16: 00.04 00.04 MarkupToHTML end
17: 00.04 00.04 MarkupToHTML begin
18: 00.04 00.04 MarkupToHTML end
19: 00.04 00.04 MarkupToHTML begin
20: 00.04 00.04 MarkupToHTML end
21: 00.04 00.04 MarkupToHTML begin
22: 00.04 00.04 MarkupToHTML end
23: 00.05 00.05 MarkupToHTML end
24: 00.06 00.06 MarkupToHTML begin
25: 00.07 00.06 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
26: 00.07 00.07 ReadApprovedUrls SiteAdmin.ApprovedUrls end
27: 00.08 00.07 MarkupToHTML end
28: 00.08 00.07 MarkupToHTML begin
29: 00.08 00.08 MarkupToHTML end
30: 00.08 00.08 now
Peak memory: 3,147,352 bytes