I am trying to do a pagination for long article which has html tags inside based on height.
For ex: Within Max height 768, i want to display the article with pagination.
My article may have html tags <b></b>,<i></i>,<img/>, etc.
I've done this by fixing the number of characters per page. But the tags also coming under the character count.
Total chars per page = 3000
my 3000th char is <, 30001 - 3004 chars are br/>.
So <br/> tag gets splitted.
Please help on this.