Commit 1b4aff76 authored by Antoine Tenart's avatar Antoine Tenart

plop

parent a9799f26
...@@ -82,7 +82,7 @@ class UVParser ...@@ -82,7 +82,7 @@ class UVParser
// load text & parse it // load text & parse it
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\n", $txt); // life is easy $txt = preg_replace('/(.+):(.+)et(.+)/', "$1$2\n\n$1$3", $txt); // life is easy
$txt = str_replace(array(' ', ':', '-'), '', $txt); $txt = str_replace(array(' ', ':', '-'), '', $txt);
$txt = $this->get_real_uv($txt); $txt = $this->get_real_uv($txt);
$this->_target = explode("\n",$txt); $this->_target = explode("\n",$txt);
......
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