The matching pattern that is included in collapse_text_process could live outside of this function.
People (ie. me right now) might use this in theme functions (like the theme function in print module for pdf/email/print output) to strip those tags out.

Comments

pooneil’s picture

Hi,

I'm not sure if this helps you but I did move the pattern to another function as the result of other updates. I created a new version, 6.x-2.0-beta1. This new version also provides a theme function that you can override.

Regards,
Anthony

andreiashu’s picture

Status: Active » Closed (fixed)

Hi Anthony,

Thanks for letting me know. To be honest I don't even remember on which project I used Collapsible Text for but it's good to know that now it is more extensible.

Cheers,
Andrei