Add smart_br setting to clean up superfluous linebreaks