I am using the word_limit and word_limit_plus plug-in and have for years. Love it!
Recently though, and probably since I installed the last build of EE a few days ago (Build: 20070918), I noticed one weblog entry that contains an email address within the first 100 words of the {body}… which now breaks the whole page off right before the email address. Nothing more on the page is shown, even the side bar is missing.
I have changed the location of the email address to earlier 30 word mark, 70 word mark, etc. Breaks at email address again. Only when it is removed does the entry and word_limit behave correctly.
{exp:word_limit_plus if_exceeds="150" stop_after="100" the_link='<a href="{url_title_path="{my_template_group}/list”}”> (More…)</a>’} {body} {/exp:word_limit_plus}
I have carefully edited all code and links, rewritten the entry, and changed the encoding from XHTML to NONE… No change.
I noticed the word limiter was adjusted on the last build revision. Any clues?
The problem that appears to be happening is when an email address is automatically encoded by EE that the code generated goes towards the word limit count (or it might just be that the javascript encode crosses the cut off point for the word_limit_plus plugin) and the js code is cut off mid way.
This then stops the rest of the page from loading.
Anyone have any ideas on how to get the word_limit_plus plugin to exempt js/email encodes from the limit so this issue is fixed?
Thanks.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.