Remove long subparagraphs. (rebased onto dev_5_0)


This is the same as gh-939 but rebased onto dev_5_0.

----

This PR fixes the sidebar entries in the LDAP section. Now no overflow of elements onto the main text should happen.