Browse Subversion Repository
Diff of /js/common.js
Parent Directory
| Revision Log
| Patch
| 641 |
return ch ; |
return ch ; |
| 642 |
} |
} |
| 643 |
|
|
| 644 |
|
function escapeHTML(str) { |
| 645 |
|
if (typeof str == String) { |
| 646 |
|
return str.escapeHTML(); |
| 647 |
|
}else { |
| 648 |
|
return ""; |
| 649 |
|
} |
| 650 |
|
} |
| 651 |
|
|
| 652 |
|
function htmlspecialchars(str) { |
| 653 |
|
if (typeof str == String) { |
| 654 |
|
return str.htmlspecialchars(); |
| 655 |
|
}else { |
| 656 |
|
return ""; |
| 657 |
|
} |
| 658 |
|
} |
|
|
Legend:
| Removed from v.25 |
|
| changed lines |
| |
Added in v.26 |
|
|
|