mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 23:36:00 +00:00
Fix problem with save graph
This commit is contained in:
parent
475f4ea88b
commit
5e7d07a9aa
@ -1,6 +1,9 @@
|
||||
|
||||
function gEncodeToHTML(str)
|
||||
{
|
||||
if (typeof str !== 'string')
|
||||
return str;
|
||||
|
||||
return str.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
@ -10,6 +13,9 @@ function gEncodeToHTML(str)
|
||||
|
||||
function gDecodeFromHTML(str)
|
||||
{
|
||||
if (typeof str !== 'string')
|
||||
return str;
|
||||
|
||||
return str.replace(/'/g, "'")
|
||||
.replace(/"/g, '"')
|
||||
.replace(/>/g, '>')
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<script src="<?= Root('i/js/dev/jquery-ui.js')?>"></script>
|
||||
<script src="<?= Root('i/js/dev/jquery.feedback_me.js')?>"></script>
|
||||
<script src="<?= Root("script/example.js?v=30")?>" ></script>
|
||||
<script src="<?= Root("script/example.js?v=31")?>" ></script>
|
||||
</head>
|
||||
<!--
|
||||
<div class="pull-right">
|
||||
|
Loading…
x
Reference in New Issue
Block a user