"What we have here is a failure to communicate." Just kidding.
Now, you'll have to look at my attached images because I've tried pasting the browser output into this post but I can't prevent this forum from altering the code that I need you to see (not even with code or quote tags).
What I'm trying to say is... for some reason the preg_replace_callback isn't working right. With your
original pp source (not my changes), what the browser displays in the showcat desc is seen in the
first attachment of this reply.
so
only the first 8 chars,
Code:
Content visible to verified customers only.
, are stripped off the front of the tag leaving the remainder of the tag displayed in the browser.
And maybe this is a clue to the problem... the page's source code in the browser is showing the actual "shy" code, as seen in the
second attachment.
See what I mean? That's not the expected result, is it? Again, that's using the
original showcat.php source code, nothing I've changed.
Now as a workaround for myself, I'm commenting-out the preg_replace_callback and I moved the wordwrap below the strip_tags. So its just showing text in the description and its wrapped correctly.
But
please let me know if you see something to correct in the preg_replace_callback statement so I can restore the showcat.php code to its original condition (minus the correction).
Thanks Chuck!