includes/render.php
changeset 1073 b19a9bcb6a45
parent 1066 bead71f28f63
child 1081 745200a9cc2a
--- a/includes/render.php	Tue Aug 04 15:02:00 2009 -0400
+++ b/includes/render.php	Tue Aug 04 15:02:54 2009 -0400
@@ -312,12 +312,13 @@
    * @access private
    */
   
-  public static function tag_unstrip($tag, &$text, &$stripdata)
+  public static function tag_unstrip($tag, &$text, &$stripdata, $keep = false)
   {
     $random_id = $stripdata['random_id'];
     
     foreach ( $stripdata['blocks'] as $i => $block )
     {
+      $block = $keep ? "<$tag>$block</$tag>" : $block;
       $text = str_replace("{{$tag}:{$random_id}:{$i}}", $block, $text);
     }