Correct extraneous trailing periods and spaces

The `<layout/>` already specifies `suffix="."` and for the consecutive periods to get collapsed into one period the periods must not be followed by trailing spaces.