BlackBeltDesigns / bbd_chopper.ee_addon

A Build of the old Hacksaw plugin for EE3 since it was let go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

entities showing up in cut text

MikeTheVike opened this issue · comments

Using BBD Chopper to limit the words to 25 on entries. There is an apostrophe in the text that uses "’" in the html. This appears in the text on the front end. is there a way to make this work with entities? Thanks!
screen shot 2017-05-01 at 9 24 27 am

Mike,

Can you give me a snippet of text you are trying to limit and the code you used? This way I can test against exactly what you are after.

Thanks.

I used your copy in a RTE and in a wygwam field. Both worked properly. (See images)
This was taking your copy and pasting it as plain text. If you use a general paste, you will carry over HTML entities. That's what it looks like is happening.

If you absolutely NEED HTML entities, let me know and I can look at rewriting things to allow for those. ;)

code
output

No worries at all. I just want to make sure it is working for you. :)