#781867 plain text vs. HTML

Package:
libxml-feedpp-perl
Source:
libxml-feedpp-perl
Submitter:
積丹尼 Dan Jacobson
Date:
2015-04-06 16:12:09 UTC
Severity:
wishlist
Tags:
#781867#5
Date:
2015-04-04 01:42:03 UTC
From:
To:
We read

   $feed->description( $html );
       This method sets/gets the feed's "description" element in plain text or
       HTML, returning its current value when $html is undefined.  It is
       mapped to "content" element for Atom 0.3/1.0.

Please mention how to make it return text or make it return HTML?

Or say

   This method sets/gets the feed's "description" element.
   Remeber to use plain text or HTML when setting.
   When getting it just gets whatever is there, be it HTML or plain
   text.

if I understand this correctly.