Download & Extend

Put the matching pattern into separate function

Project:Collapse Text
Version:6.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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

#2

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

nobody click here