# HG changeset patch # User Zoe Hong # Date 1427723027 -7200 # Node ID e930eb88b547ad3c3841b5d834db73be79bf5f6c # Parent f9e7119339b2b2544448e904e005ce429ba17177 bug fixed: when addTagTitle, removing self-closing tag which causes error in coloring tag diff -r f9e7119339b2 -r e930eb88b547 models/extractapp.php --- a/models/extractapp.php Mon Mar 30 15:34:47 2015 +0200 +++ b/models/extractapp.php Mon Mar 30 15:43:47 2015 +0200 @@ -404,7 +404,7 @@ if ( file_exists("data/parsing_files/".$_postdata['sectionId'].".txt") ) { $oldFile = file_get_contents("data/parsing_files/".$_postdata['sectionId'].".txt"); //saving in my local machine in developing phrase - file_put_contents("data/parsing_files/".$_postdata['sectionId']."_".$date.".txt", $oldFile); + //file_put_contents("data/parsing_files/".$_postdata['sectionId']."_".$date.".txt", $oldFile); } if (get_magic_quotes_gpc()) { @@ -420,7 +420,7 @@ $require = preg_replace("/○/u", " ", $require); $require = preg_replace("/
/u", "\n", $require); //$require = preg_replace("/
/u", "\n", $require); - + echo "----------------------------------
"; echo "Debug: (full text after) ". $require; @@ -431,7 +431,7 @@ $require = $this->AppendMetaData($require); //saving in my local machine in developing phrase - file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require); + //file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require); } // ------ @@ -479,7 +479,7 @@ // execute the request // **** commended to DEBUG *** - //$output = curl_exec($ch); + $output = curl_exec($ch); // ***** // output the profile information - includes the header