thanks for the fix; it is essentially correct. The same code is used for openacs textarea and richtext widgets, where only the second one (predominant case) uses the representation of [list content mime-type]. I'll take the opportunity to simplify the code and make this fact explicit.