We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Email address breaks word_limit plug-in

Development and Programming

dclarkrenton's avatar
dclarkrenton
25 posts
17 years ago
dclarkrenton's avatar dclarkrenton

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?

       
Dane Thomas's avatar
Dane Thomas
139 posts
17 years ago
Dane Thomas's avatar Dane Thomas

Did you ever find a fix to this? I’m having the same problem?

       
Dane Thomas's avatar
Dane Thomas
139 posts
17 years ago
Dane Thomas's avatar Dane Thomas

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.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.