Skip to content

Commit

Permalink
Remove deprectated "literal" synonym for ecode
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Apr 9, 2003
1 parent 2c0a806 commit 606c2f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Slash/Utility/Data/Data.pm
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ sub stripBadHtml {
=head2 processCustomTags(STRING)
Private function. It does processing of special custom tags
(so far, just ECODE, and its deprecated synonym, LITERAL).
(so far, just ECODE).
=over 4
Expand Down Expand Up @@ -862,7 +862,7 @@ sub processCustomTags {

# ECODE must be in approvedtags
if (grep /^ECODE$/, @{$constants->{approvedtags}}) {
my $ecode = 'literal|ecode'; # "LITERAL" is old name
my $ecode = 'ecode';
my $open = qr[\n* <\s* (?:$ecode) (?: \s+ END="(\w+)")? \s*> \n*]xsio;
my $close_1 = qr[$open (.*?) \n* <\s* /\2 \s*> \n*]xsio; # if END is used
my $close_2 = qr[$open (.*?) \n* <\s* /ECODE \s*> \n*]xsio; # if END is not used
Expand Down

0 comments on commit 606c2f2

Please sign in to comment.