Don't skip tags because there's a comment containing an equals sign
There used to be an issue with this fix, but I can no longer reproduce it.
This commit is contained in:
parent
cc7afb5d67
commit
e01fa5e73c
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ sub read_wml_file {
|
|||
next LINE if not $valid_wml;
|
||||
next LINE if defined $str; # skip lookup if inside multi-line
|
||||
next LINE if m/^ *\{.*\} *$/; # skip lookup if a statement line
|
||||
next LINE if m/=/; # skip lookup if a field line
|
||||
next LINE if m/^[^#]*=/; # skip lookup if a field line
|
||||
while (m,\[ *([a-z/+].*?) *\],g) {
|
||||
my $nodename = $1;
|
||||
#my $ind = " " x (@nodeinfostack + ($nodename =~ m,/, ? 0 : 1));
|
||||
|
|
Loading…
Add table
Reference in a new issue