As per title if you choose the have a trimmed filed in the teasers it will leave unclosed html tags.
For Example :
1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then click on Z
3. Explain the results you get. ex) a red error box pops up that says "Error: The doomahiggie has a mibblefaap."
4. Explain the results you expect. ex) I expected Y to be updated to a hizzleding.
In teasers will become :
1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then
And will leave the paragraph unclosed
Comments
Comment #1
strestus commentedComment #2
markus_petrux commentedChanging issue status:
1) CCK 6.x-3.x-dev is experimental branch where only remove button, multigroup and nested fieldgroups live in comparison to CCK 6.x-2.x. Bug reports related to CCK for Drupal 6 should be first resolved under the 6.x-2.x branch.
Note: here I'm in doubt though, as you have flagged the issue for CCK 6.x-3.x, but your description talks about CCK 1.5?
2) This is not CCK in core, but... probably Text fields? ...using some kind of format filter? ...just guessing now, isn't this something that should be resolved by the format filter?
3) Not critical. CCK still works with or without this problem.
Comment #3
strestus commentedI have tried all versions and they all have the same bug.
If not careful it might brake the whole website.
Comment #4
strestus commentedComment #5
giorgio79 commentedHere is a cool method to balance html tags
http://stackoverflow.com/questions/1725115/how-to-balance-tags-with-php
Comment #6
markus_petrux commentedThe trimmed formatter of Text fields uses the node_teaser() function of node module, and for fields where "Filtered text" option is enabled, it uses the input format selected for the field value. So, fixing unclosed tags is a job for the input format. CCK can do nothing else about it.
Solution is to make sure the "HTML corrector" filter is properly enabled in the input formats available to Text fields with "Filtered text" option enabled.
Comment #8
strestus commentedAny chance to fix this annoying bug in the near future :)
Comment #9
markus_petrux commentedThis is not a bug in CCK. Please, read #6.