# HG changeset patch # User Zoe Hong # Date 1428932639 -7200 # Node ID c491928852900ca548d904740081e580951c7f80 # Parent 75233b09c580a2b57bd77dca62cda6c0b0d04042 Bug fixed: ambiguous tag occured at Editing-text mode diff -r 75233b09c580 -r c49192885290 models/extractapp.php --- a/models/extractapp.php Thu Apr 09 15:29:46 2015 +0200 +++ b/models/extractapp.php Mon Apr 13 15:43:59 2015 +0200 @@ -378,11 +378,15 @@ $require = preg_replace("/
/u", "\n", $require); //$require = preg_replace("/
/u", "\n", $require); - + $require = "".$require."\n"; + + /* if ($_postdata['branchId'] == 0) { // -- new branch case $require = "".$require."\n"; } + */ + $require = $this->AppendMetaData($require); //saving in my local machine in developing phrase @@ -1163,7 +1167,10 @@ $contentString = (string)($xml->text_content->asXML()); - return $contentString; + $removed_str = array("",""); + $new_contentString = str_replace($removed_str, "", $contentString); + + return $new_contentString; } diff -r 75233b09c580 -r c49192885290 views/Extractapp/TaggingText.php --- a/views/Extractapp/TaggingText.php Thu Apr 09 15:29:46 2015 +0200 +++ b/views/Extractapp/TaggingText.php Mon Apr 13 15:43:59 2015 +0200 @@ -802,7 +802,7 @@
- +