Ignore:
Timestamp:
Feb 3, 2014, 2:27:41 PM (11 years ago)
Author:
maron
Message:
  • Fixed: Generation addon without newline in en text
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/CreateAddon.php

    r779 r781  
    5858    $string = str_replace('$b', ' ', $string); 
    5959    $string = $this->ReplaceVarInText($string); 
    60     $string = str_replace("\r", '', $string);
    61     $string = str_replace("\n", '', $string);
     60    $string = str_replace("\r", ' ', $string);
     61    $string = str_replace("\n", ' ', $string);
     62    $string = str_replace('\\r', ' ', $string);
     63    $string = str_replace('\\n', ' ', $string);
    6264    while(strpos($string, '  '))
    6365      $string = str_replace('  ', ' ', $string);
Note: See TracChangeset for help on using the changeset viewer.