On Mon, Feb 19, 2024 at 10:45:22PM +0100, Patrice Dumas wrote:
> Another issue, maybe it would be better to reset encoding_disabled to
> leave a clean state in conversion_finalization(), do something like
>
> if (...) {
> $self->{'encoding_disabled'}++;
> }
>
> in conversion_finalization()
> if (...) {
> $self->{'encoding_disabled'}--;
> }
>
> But it requires having a condition that is a sure marker that a string
> is returned.
Actually, simply decreasing/setting to 0 if > 0 be ok, as the call to output
or convert should not be recursive.
--
Pat