Cutter.js icon indicating copy to clipboard operation
Cutter.js copied to clipboard

Handling html tags when truncation happens in the middle of it

Open maeishoj opened this issue 11 years ago • 0 comments

Hello there.

I seem to have issues when traying to truncate some html strings I get: TypeError: undefined is not a function at Cutter.applyTo (http://localhost:3012/js/vendor/cutter.js:156:37) at Function.Cutter.run (http://localhost:3012/js/vendor/cutter.js:536:11) at http://localhost:3012/js/controllers/MapController.js:136:29 at http://localhost:3012/js/services/MapService.js:18:4 at wrappedCallback (http://localhost:3012/js/vendor/angular.js:11520:81) at wrappedCallback (http://localhost:3012/js/vendor/angular.js:11520:81) at http://localhost:3012/js/vendor/angular.js:11606:26 at Scope.$eval (http://localhost:3012/js/vendor/angular.js:12632:28) at Scope.$digest (http://localhost:3012/js/vendor/angular.js:12444:31) at Scope.$apply (http://localhost:3012/js/vendor/angular.js:12736:24)

You can see the plunkr here: http://plnkr.co/edit/w6L01W0DX7UqqtojReXv

Can you please explain what is going on? I would really like to have this working.. :)

maeishoj avatar Oct 31 '14 16:10 maeishoj