Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Should convert html entities to chars before processing #17

Open
SelmanKahya opened this issue Sep 30, 2015 · 0 comments
Open

Should convert html entities to chars before processing #17

SelmanKahya opened this issue Sep 30, 2015 · 0 comments

Comments

@SelmanKahya
Copy link

I think this module should be converting html entities to chars before processing, so & should become & only then we could truncate.

After executing the following:
truncate("FIFA Tournaments - Players &amp; Coaches - <b>Mario BALOTELLI</b>", 50)

expected:
FIFA Tournaments - Players &amp; Coaches - <b>Mario BALOT</b>

actual:
FIFA Tournaments - Players &amp; Coaches - <b>Mario B</b>

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

No branches or pull requests

1 participant