Uncodin / bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.
http://uncodin.github.com/bypass/
Apache License 2.0
1.52k stars 193 forks source link

List are mono-line when attributed text is assigned to a UILabel #205

Open JavierCalatravaAltranAxa opened 8 years ago

JavierCalatravaAltranAxa commented 8 years ago

This is the input: Water: \n\n* Leakage of water or other liquids from pipe systems, aquariums, waterbeds \n\n* Through the roof, from gutters or external drainpipes penetrating rain, snow or meltwater \n\n* Backwater from the sewage system, \n\n* Ingress of groundwater \n\n* Frost damage to the installed pipe systems inside the building and any attached devices\n\nInsurance does not cover: \n\n* Damage caused by open skylights, emergency roofs or through openings in the roof \n\n* Damage as a result of subsidence, poor building land, faulty building maintenance and faulty structural design, ie as a result of deficiencies in the design or execution

But the output: result2

My as you can see each list item is presented in a unique line, so the text appears cut. My workaround is just replace the list character by a different one and in that way avoid that library handles with lists. Indentation works neither.