Script appearing in 'Copy Paste'?

Annush
Annush
@annush
6 years ago
229 posts
Hi, anyone know why script appears after a 'copy paste' procedure, example:- (It would be here but doesn't allow me to print it - see JPG please)
I never had this before - I'm sure there are times we all copy some text (to save time) then paste it eg Profile Biography.
Thanks
Fatsa Eyescream.jpg
Fatsa Eyescream.jpg  •  39KB


updated by @annush: 06/18/18 10:40:28AM
paul
@paul
6 years ago
4,325 posts
You've changed the profile biography field from a textarea to an editor field, which is fine except the the skin's artists_row.tpl template is truncating the output. If this truncation happens half way through an html tag, things will break.
Edit your artists_row.tpl template. Locate the two $item.profile_bio|truncate:150:"..." bits of code and change them to $item.profile_bio|jrCore_strip_html|truncate:150:"..."
hth


--
Paul Asher - JR Developer and System Import Specialist
Annush
Annush
@annush
6 years ago
229 posts
Thank you - it works although I do not know how it was changed as we never been there before. Anyway, we are very grateful.

Tags