escape html entities in docsystem
add doc info for print