Adapt to KSWriter 2.0
No need to create substring
-writeHTMLString:range: method which can be further sped up
Use different variable name for ease of debugging
More efficient HTML-writing routine
Vastly more efficient +stringFromAttributeValue: routine for the common case
Latest KSWriter
Permit/handle nil output