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

Functionnality : Strip conserving content #48

Open
Nuranto opened this issue Jun 29, 2019 · 0 comments
Open

Functionnality : Strip conserving content #48

Nuranto opened this issue Jun 29, 2019 · 0 comments

Comments

@Nuranto
Copy link

Nuranto commented Jun 29, 2019

Current behavior :

Shortcode::strip($string) will remove a shortcode like this : [link href="/toto"]Toto[/link] => `` (empty)

Proposal :

It would be great to add a parameter into strip method in order to keep or not the content, so we can strip like this : [link href="/toto"]Toto[/link] => Toto

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

No branches or pull requests

2 participants