I'm attempting to programatically format a pdf menu, and all went well until I noticed certain line breaks out of place that break the pattern. This is what part of my raw text looks like:
LATIN
Saturday & Sunday:
Build Your Own Breakfast Burrito, Scrambled Eggs, Cheesy Eggs, Latin Tofu
Scramble, Latin Roasted Vegetables
DESSERT
Daily:
Assorted Pastries
I noticed that some items (like Latin Tofu Scramble) have a line break placed in the middle of them. Given that menu items are variable and there might be extra line breaks in other places, is there any way I can remove line breaks occurring between commas (since all of the items are comma-separated)?
EDIT: The final result would ideally look something like this:
LATIN
Saturday & Sunday:
Build Your Own Breakfast Burrito, Scrambled Eggs, Cheesy Eggs, Latin Tofu Scramble, Latin Roasted Vegetables
DESSERT
Daily:
Assorted Pastries