I've written an app to search and display ophthalmic medications. When uses select a medication I query the open.fda.gov APIs to get the specific listings for that medication.
The problem is, these listings are not very well formatted. The text in each section can be a long string of text with no line breaks, unformatted lists, etc.
I've tried to write code to parse the data to find logical places to at least put some line breaks and break up the text a little. Sometimes this works acceptable, sometimes it doesn't.
Are there any other sources for this data that might be better formatted, or any other advice on how to display this text in a more appealing way?