For some usage scenarios with various advanced macros, it is useful to be able to get the simple text content from the output of another macro or general HTML content. This macro does this with the same technology used to extract text for the Confluence index as documented in How to make include macro content appear in Confluence search results.
attributes - Include HTML attributes in the output text. Attributes include values of title, alt, label, summary, and content attributes of normal tags. Defaults to true. Set to false to ignore these attributes and not include them in the output.
compress - Remove duplicate words in the output. Defaults to false. Set to true to remove the duplicate words.