rviscomi / trunk8

jQuery Truncation Plugin -- THIS PROJECT IS NO LONGER MAINTAINED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax error in regex

liborm85 opened this issue · comments

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.

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