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.

Peak memory: 1,501,888 bytes