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

nebula_the_excerpt() Needs to skip embedded content somehow #9

Closed
chrisblakley opened this issue Apr 25, 2014 · 1 comment
Closed
Labels
🪲 Bug Something isn't working. 🔥 High Priority This is a critical issue!
Milestone

Comments

@chrisblakley
Copy link
Owner

For example, when the excerpt is empty, the content is used, but when this has dynamic content like a Youtube player embedded within the first X words of the post, it will be generated on the listing page where nebula_the_excerpt() is used.

Somehow we need to detect any HTML code used in the content and strip it out. Furthermore, we also can't echo the raw code either.

@ghost
Copy link

ghost commented Apr 26, 2014

Have you tried some simple like strip_tags?
http://us1.php.net/manual/en/function.strip-tags.php

Do you have a test area you're using to work out these issues? Let me
know, and I'll tackle this guy.

On Fri, Apr 25, 2014 at 9:39 PM, Chris Blakley notifications@github.comwrote:

Reopened #9 #9.

Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

PinckneyHugoGroup

*Jef Collier | Interactive Developer *
760 West Genesee Street, Syracuse, NY 13204
315.478.6700 | jef@pinckneyhugo.com

@chrisblakley chrisblakley added this to the 1.0 Eagle milestone Jun 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 Bug Something isn't working. 🔥 High Priority This is a critical issue!
Projects
None yet
Development

No branches or pull requests

1 participant