Merge pull request #1 from a-pasquale/master

Add missing closing </div> tag in text-document view.
Removed deprecated related items macro.