Fix the item before a non-documentation header.

The documentation for an item before a non-documentation header,
e.g.:

	# foo {: .doc }

	# Bar

was not being processed, so was being treated as having no
documentation.