PackageDescription: HkHTMLWriting
Hk HTML WritingLast published: May 20, 2007 by 'klnsrgn'
Defines 2 Classes
Extends 2 Classes
A stream encoder and a SAX writer that provide basic HTML entity encoding. The stream encoder currently does not support decoding. Only minimal testing was done.
Examples:
| str |
str := (ByteArray new withEncoding: #HkHTML) writeStream.
str nextPutAll: 'Quelque chose s''était cassé dans mon moteur'.
str encodedContents asByteString inspect.
| str writer |
str := String new writeStream.
writer := Hk.HTMLWriter on: str.
writer characters: 'Quelque chose s''était cassé dans mon moteur'.
str contents inspect.