6 Jul
2016
6 Jul
'16
1:37 p.m.
Sune Karlsson, on CitEc-run, wrote
That was not a terribly good fix. Turns out that $attribute can be undefined so
$value = decode_and_strip_html( $value ) unless defined $attribute and $attribute eq 'x-bibl';
is better unless you want a lot of warnings about $attribute being undefined.
What abouot disabling stripping for all x-attributes $value = decode_and_strip_html($value) unless defined $attribute and lc(substr($attribute,0,2)) eq 'x-'); -- Cheers, Thomas Krichel http://openlib.org/home/krichel skype:thomaskrichel