TrvActionInsertHyperlink.EncodeTarget

<< Click to display table of contents >>

TrvActionInsertHyperlink.EncodeTarget

Encodes hypertext target before assigning it to the item's tag.

function EncodeTarget(const Target: TRVUnicodeString): TRVUnicodeString;

The function returns the processed Target parameter.

It removes the line break characters (#13 and #10) and replaces the space characters with SpaceFiller.

Normally, the returned value is the same as Target (because the action does not allow entering multiline targets, and SpaceFiller=' ').