Package DE_EPAGES::Test::API::TemplateUtil
String manipulation functionality for removing TLEs and HTML tags
@EXPORT_OK |
Functions
CleanContentForTesting
Cleans a string from disruptive TLEs and safe HTML tags. Fires RemoveTLEComments and RemoveTLEsToIgnore. For more details see the description of the respective methods.
Syntax |
my $CleanedContent = CleanContentForTesting($DirtyContent); |
Input |
|
Return |
|
RemoveTLEComments
Cleans a string from TLE comments.
Syntax |
my $CleanedContent = RemoveTLEComments($DirtyContent); |
Input |
|
Return |
|
RemoveTLEsToIgnore
Cleans a string from all test-disruptive TLEs which are specified in the TLES_TO_IGNORE and TLES_TO_IGNORE_BY_REGEX constants.
Syntax |
my $CleanedContent = RemoveTLEsToIgnore($DirtyContent); |
Input |
|
Return |
|