Closed (works as designed)
Project:
Read More Link (Drupal 6 and earlier)
Version:
6.x-5.0-rc7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2010 at 13:59 UTC
Updated:
12 Aug 2010 at 15:02 UTC
Comments
Comment #1
OnkelTem commentedAfter debugging I see problem is not UTF-8 related and more in Drupal core, then in this module.
When using CKEditor with its default code formatting stuff, then after each opening and closing P tag it places sequence: \r\n\t
For example, if we type '0123456789' and save the node, then in database we get:
both for body and teaser.
But after loading and building content of the node we get teaser equals:
while $node->content['body']['#value'] contains:
This leads to miscalculations of insert position in function ed_readmore_link_place and thats the reason of breaking UTF-8 lines which is just the result and not the reason.