Remove trailing section markers