Respect line breaks when rendering on Android

Not sure if this compiles but it is a little cleaner than #143
refs #141