Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
ギコナビ(避難所版)
ギコナビ(避難所版)
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse Git: gikonavi
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (2)
Help (1)
Developers (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse CVS Repository
/
[OSDN]
/
gikonavigoeson
/
gikonavi
/
MojuUtils.pas
Diff of /gikonavigoeson/gikonavi/MojuUtils.pas
Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
revision
1.20
by
h677
, Fri Dec 9 17:06:30 2005 UTC
revision
1.21
by
h677
, Wed Feb 1 15:23:49 2006 UTC
#
Line 32
uses
Line 32
uses
32
//<font>タグを全て削除する
//<font>タグを全て削除する
33
function DeleteFontTag( inSource : string) : string;
function DeleteFontTag( inSource : string) : string;
34
function RemoveToken(var s: string;const delimiter: string): string;
function RemoveToken(var s: string;const delimiter: string): string;
35
// 無害化(& -> & " -> &auot; に変換する)
36
function Sanitize(const s: String): String;
37
// 無害化解除(& -> & &auot; -> " に変換する)
38
function UnSanitize(const s: String): String;
39
40
implementation
implementation
41
// ポインター&アセンブラによる高速ポス
// ポインター&アセンブラによる高速ポス
#
Line 358
begin
Line 362
begin
362
s := '';
s := '';
363
end;
end;
364
end;
end;
365
//! 無害化(& -> & " -> &auot; に変換する)
366
function Sanitize(const s: String): String;
367
begin
368
Result := CustomStringReplace(s, '&', '&');
369
Result := CustomStringReplace(Result, '"', '"');
370
end;
371
//! 無害化解除(& -> & &auot; -> " に変換する)
372
function UnSanitize(const s: String): String;
373
begin
374
Result := CustomStringReplace(s, '"', '"');
375
Result := CustomStringReplace(Result, '&', '&');
376
end;
377
378
end.
end.
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.1.20
changed lines
Added in v.1.21
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26