Export docid logicalname in htmltext attribute (refs #4152)