Closed (fixed)
Project:
Paging
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2009 at 03:41 UTC
Updated:
9 Feb 2009 at 16:50 UTC
Jump to comment: Most recent file
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?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 362966.patch | 777 bytes | Gurpartap Singh |
Comments
Comment #1
Gurpartap Singh commentedPaging 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.
Comment #2
Gurpartap Singh commentedIf possible, please try to reproduce the same with latest code from HEAD branch.
Comment #3
pcave commentedI tried the latest and it is still happening. Do you want me to post the content being paged?
Comment #4
Gurpartap Singh commentedWould 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"?
Comment #5
pcave commentedI 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.
Comment #6
Gurpartap Singh commentedHere's a fix.
Comment #7
Gurpartap Singh commentedFixxxxed. Thanks a lot buddy! :)
Comment #8
pcave commentedI applied the patch and it fixed the problem. Thank you very much!