mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-07 03:42:13 +02:00
space was mistakenly excluded as a control char
This commit is contained in:
parent
979c02438d
commit
9e0fd42e8f
6
h-m-m
6
h-m-m
|
@ -317,7 +317,7 @@ function decode_tree($lines, $root_id, $start_id)
|
||||||
$lines[$lid] =
|
$lines[$lid] =
|
||||||
mb_ereg_replace
|
mb_ereg_replace
|
||||||
(
|
(
|
||||||
"[\000-\040\177".BOM."]"
|
"[\000-\037\177".BOM."]"
|
||||||
,''
|
,''
|
||||||
,str_replace
|
,str_replace
|
||||||
(
|
(
|
||||||
|
@ -1329,7 +1329,7 @@ function edit_node(&$mm, $rewrite = false)
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
||||||
$title = mb_ereg_replace("[\000-\040\177".BOM."]",'',$title);
|
$title = mb_ereg_replace("[\000-\037\177".BOM."]",'',$title);
|
||||||
$cursor++;
|
$cursor++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2094,7 +2094,7 @@ function get_from_clipboard(&$mm)
|
||||||
return
|
return
|
||||||
mb_ereg_replace
|
mb_ereg_replace
|
||||||
(
|
(
|
||||||
"[\000-\040\177".BOM."]"
|
"[\000-\037\177".BOM."]"
|
||||||
,''
|
,''
|
||||||
,shell_exec($mm['clipboard']['read'])
|
,shell_exec($mm['clipboard']['read'])
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue