updated the htmlencoder to handle complex formatting.
updated the htmlencoder to handle complex formatting.

git-tfs-id: [https://tfs.caes.ucdavis.edu:8088/tfs/DefaultCollection]$/CRP/Trunk/CRP;C8071

ucdavis/CRP,ucdavis/CRP,ucdavis/CRP