Fixes list formatting.