gustafn
committed
on 10 Apr 08
make asHTML more robust