Apache Forrest code fix (bug FOR-482,FOR-457)

code fix
by
DC
(fixes bug FOR-482,FOR-457)

:

Generate html/head/meta elements from document-v2.
Thanks to Mark Eggers.