Need some feedback for my pull request

Hello,

I just send a new pull request. You can see it here : Add a separation option for the excerpt function by GCorbel · Pull Request #7189 · rails/rails · GitHub. I don't know if there is a better way to do what I want but it's the solution I found.

Can you check it please?

Thanks!