JQM: On using <pre> tag in Jquery Mobile app, the formatting disappears on viewing through mobile device

132 Views Asked by At

I am trying to display a text containing multiple paragraphs, and multiple blank lines between paragraphs, all enclosed within <pre> tag.

It works fine when I view it through PC browser (Chrome). However after installing the app on a mobile, the same page looses its formatting.

Can anyone please help me out with a solution? Even a small headway will help.

This is the screen capture from my mobile device

enter image description here

Whereas I wanted to view the data in the following format. Below is the image from my PC Crome

enter image description here

0

There are 0 best solutions below