changeset 56:95f929d7b318 extractapp

bug fixed: when addTagTitle, removing self-closing tag which causes error in coloring tag
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 30 Mar 2015 15:54:04 +0200
parents e930eb88b547
children 5cf9720a2e25
files models/extractapp.php
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/models/extractapp.php	Mon Mar 30 15:43:47 2015 +0200
+++ b/models/extractapp.php	Mon Mar 30 15:54:04 2015 +0200
@@ -413,16 +413,12 @@
                 $require = $_postdata['text'];
             }
  
-            echo "Debug: (full text before) ". $require;
-
             $require = preg_replace("/【<a(.*?)>(.*?)<\/a>】/u", "【\\2】", $require);
             $require = preg_replace('/&amp;/u', "&", $require); 
             $require = preg_replace("/○/u", " ", $require); 
             $require = preg_replace("/<br>/u", "\n", $require);
             //$require = preg_replace("/<br>/u", "\n", $require);
 
-            echo "----------------------------------<br>";
-            echo "Debug: (full text after) ". $require;
 
             if ($_postdata['branchId'] == 0) {
                 // -- new branch case