mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-08 03:52:12 +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] =
|
||||
mb_ereg_replace
|
||||
(
|
||||
"[\000-\040\177".BOM."]"
|
||||
"[\000-\037\177".BOM."]"
|
||||
,''
|
||||
,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++;
|
||||
}
|
||||
|
||||
|
@ -2094,7 +2094,7 @@ function get_from_clipboard(&$mm)
|
|||
return
|
||||
mb_ereg_replace
|
||||
(
|
||||
"[\000-\040\177".BOM."]"
|
||||
"[\000-\037\177".BOM."]"
|
||||
,''
|
||||
,shell_exec($mm['clipboard']['read'])
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue