Commit a49d285c authored by Antoine Tenart's avatar Antoine Tenart

rha

parent 13320284
...@@ -84,7 +84,7 @@ class UVParser ...@@ -84,7 +84,7 @@ class UVParser
public function load_by_text($txt, $load_next = false) { public function load_by_text($txt, $load_next = false) {
$txt = preg_replace('/(.+):(.+)et(.+)/', "$1$2\n$1$3", $txt); // life is easy $txt = preg_replace('/(.+):(.+)et(.+)/', "$1$2\n$1$3", $txt); // life is easy
$txt = str_replace(array(' ', ':', '-'), '', $txt); $txt = str_replace(array(' ', ':', '-'), '', $txt);
$this->get_real_uv($txt); $txt = $this->get_real_uv($txt);
$this->_target = explode("\n",$txt); $this->_target = explode("\n",$txt);
$this->parse(); $this->parse();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment