doxygen/doxygen — pull request #246 by albert-github (2014-11-01 13:23:44+00:00)
Title: Conditional section can give extra verbatim section

In Fortran when having code as shown below and setting 'public' in the ENABLED_SECTIONS the result is that an extra verbatim section occurs before the var_pub_2.
This is due to the fact that in case of the @cond (and @endcond) the (white) space after !> is added in the comment converted "file" this extra space result in an extra verbatim section. By adding the space to the search pattern for @cond (and @endcond) this problem can be overcome.

===== code showing the problem =====
!> Docu of module
MODULE test_aa
!> @cond public
!> var public 1
CHARACTER(LEN=100), PARAMETER :: var_pub_1 = 'var_pub_1'
!> @endcond
!> @cond private
!> var private 1
CHARACTER(LEN=100), PARAMETER :: var_priv_1 = 'var_priv_1'
!> @endcond
!> @cond private
!> var private 2
CHARACTER(LEN=100), PARAMETER :: var_priv_2 = 'var_priv_2'
!> @endcond
!> @cond public
!> var public 2
CHARACTER(LEN=100), PARAMETER :: var_pub_2 = 'var_pub_2'
!> @endcond

END MODULE