Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
9dd1a09e
Commit
9dd1a09e
authored
Oct 20, 2014
by
hancong03
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对输入进行转义;修复dirname函数的拼写错误
Signed-off-by:
hancong03
<
hancong03@baidu.com
>
parent
adf5189f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Parser.class.php
native-support/archive/src/Parser.class.php
+2
-2
Parser.xmind.class.php
native-support/archive/src/Parser.xmind.class.php
+1
-1
No files found.
native-support/archive/src/Parser.class.php
View file @
9dd1a09e
...
@@ -6,11 +6,11 @@ require_once "Parser.freemind.class.php";
...
@@ -6,11 +6,11 @@ require_once "Parser.freemind.class.php";
class
Parser
{
class
Parser
{
public
static
function
toXMind
(
$source
,
$previewImage
=
null
)
{
public
static
function
toXMind
(
$source
,
$previewImage
=
null
)
{
return
XMindParser
::
parse
(
$source
,
$previewImage
);
return
XMindParser
::
parse
(
htmlspecialchars
(
$source
,
ENT_NOQUOTES
)
,
$previewImage
);
}
}
public
static
function
toFreeMind
(
$source
)
{
public
static
function
toFreeMind
(
$source
)
{
return
FreeMindParser
::
parse
(
$source
);
return
FreeMindParser
::
parse
(
htmlspecialchars
(
$source
,
ENT_NOQUOTES
)
);
}
}
}
}
\ No newline at end of file
native-support/archive/src/Parser.xmind.class.php
View file @
9dd1a09e
...
@@ -198,7 +198,7 @@ class XMindParser {
...
@@ -198,7 +198,7 @@ class XMindParser {
private
static
function
move
(
$meta
,
$path
)
{
private
static
function
move
(
$meta
,
$path
)
{
$config
=
require
(
dir
an
me
(
__FILE__
)
.
'/../config.php'
);
$config
=
require
(
dir
na
me
(
__FILE__
)
.
'/../config.php'
);
$savepath
=
$config
[
'savepath'
];
$savepath
=
$config
[
'savepath'
];
if
(
!
file_exists
(
$savepath
)
)
{
if
(
!
file_exists
(
$savepath
)
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment