Put the matching pattern into separate function

andreiashu - June 23, 2009 - 13:03
Project:Collapsible Text
Version:6.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.