I thought this module wasn't supposed to break in the middle of a tag? I've got automatic paging set to 4000 characters and it's breaking right in the middle of a paragraph tag leaving me with p>. Am I doing something wrong?

CommentFileSizeAuthor
#6 362966.patch777 bytesGurpartap Singh

Comments

Gurpartap Singh’s picture

Paging uses Drupal's teaser splitting method to fetch pages and this issue is strange. Can you share the exact content your are using? Do you also have some other filter enabled, that might be playing with it? Try putting paging at the end of filters.

Gurpartap Singh’s picture

If possible, please try to reproduce the same with latest code from HEAD branch.

pcave’s picture

I tried the latest and it is still happening. Do you want me to post the content being paged?

Gurpartap Singh’s picture

Would be good if you share content. Use a pastebin if it's too long.

Are you sure you are using "by character" automatic paging and not "by word"?

pcave’s picture

I double checked and I am using "by character". The content is at http://pastebin.com/m2ef3f4e7. It's breaking in the closing paragraph tag on line 45. This is client entered content and I just noticed there are smart quotes in it. Wonder if that has anything to do with it.

Gurpartap Singh’s picture

StatusFileSize
new777 bytes

Here's a fix.

Gurpartap Singh’s picture

Status: Active » Fixed

Fixxxxed. Thanks a lot buddy! :)

pcave’s picture

I applied the patch and it fixed the problem. Thank you very much!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.