View | Details | Raw Unified | Return to bug 23290
Collapse All | Expand All

(-)a/Koha/XSLT/Security.pm (-3 / +3 lines)
Lines 144-151 sub set_parser_options { Link Here
144
    my $conf = $self->{_options};
144
    my $conf = $self->{_options};
145
    return if !$conf;
145
    return if !$conf;
146
146
147
    if( exists $conf->{expand_entities} && $conf->{expand_entities} eq '0' ) {
147
    if( $conf->{expand_entities} ) {
148
        # we only disable expanding, if we find an explicit 0
148
        _set_option($parser, 'expand_entities', 1);
149
    } else {
149
        _set_option($parser, 'expand_entities', 0);
150
        _set_option($parser, 'expand_entities', 0);
150
    }
151
    }
151
}
152
}
152
- 

Return to bug 23290