The reference documentation states that one can use charlist as output option for erlsom:write/3, but the code actually expected chardata. This change allows both chardata and charlist as output option which makes the documentation true while not breaking existing clients.
The reference documentation states that one can use
charlist
as output option for erlsom:write/3, but the code actually expectedchardata
. This change allows bothchardata
andcharlist
as output option which makes the documentation true while not breaking existing clients.