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

Remove empty tags from html content #4486

Closed
romanlesnikov opened this issue Sep 14, 2023 · 1 comment
Closed

Remove empty tags from html content #4486

romanlesnikov opened this issue Sep 14, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@romanlesnikov
Copy link
Collaborator

#4203

in bx_process_output
$s = preg_replace("/(((<\w+>)+[ \n(
)]*(</\w+>)+)+)|
/", '', $s);

<p><a href="https://www.psychologytoday.com/ca/blog/all-is-well/202308/what-if-your-doctor-actually-talked-with-you" rel="noopener noreferrer" target="_blank"><strong>Psychology Today<br></strong></a></p><p>In an insurance-driven market, patients and practitioners seldom truly interact.</p>

@AntonLV
Copy link
Contributor

AntonLV commented Sep 21, 2023

Check cases with IMG and VIDEO tags.

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

No branches or pull requests

2 participants