Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling html tags when truncation happens in the middle of it #8

Open
maeishoj opened this issue Oct 31, 2014 · 0 comments
Open

Handling html tags when truncation happens in the middle of it #8

maeishoj opened this issue Oct 31, 2014 · 0 comments

Comments

@maeishoj
Copy link

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.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant