rviscomi / trunk8

jQuery Truncation Plugin -- THIS PROJECT IS NO LONGER MAINTAINED
MIT License
703 stars 95 forks source link

Syntax error in regex #57

Closed liborm85 closed 8 years ago

liborm85 commented 9 years ago

Hello.

I found problem in function getHtmlArr with regex on line 54. Problem is with character "*" which causes a syntax error (but in trunk8 probably work), tested on: https://regex101.com/r/zN2kA0/1 Here is regex without this syntax error https://regex101.com/r/pU2oZ9/1

Thanks for fix.

rviscomi commented 9 years ago

@liborm85 thanks for reporting this. Can you file a pull request?

liborm85 commented 9 years ago

https://github.com/rviscomi/trunk8/pull/58