forward porting fix for non-unique separator strings, ~~~, #8543
This commit is contained in:
parent
9eff3a4b77
commit
13eb87ffe5
13 changed files with 54 additions and 27 deletions
|
|
@ -1244,6 +1244,23 @@ sub getRoot {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getSeparator
|
||||
|
||||
Returns a very unique string that can be used for splitting head and body apart
|
||||
from the style template. Made into a method in case it ever has to be changed
|
||||
again.
|
||||
|
||||
=cut
|
||||
|
||||
sub getSeparator {
|
||||
my $self = shift;
|
||||
my $padCharacter = shift || '~';
|
||||
my $pad = $padCharacter x 3;
|
||||
return $pad.$self->getId.$pad
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getTempspace ( session )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue