Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Extracts simple text from HTML content.

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.

Parameters

  • 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.

Example

{text-extractor}
[google|http://google.com]
{text-extractor}
Result
google



  • No labels