Topic on Extension talk:TextExtracts

Getting links, spans, and divs to appear

1
Proactive programming (talkcontribs)

If you to get links to appear in the TextExtract with limited HTML, change the code in "ExtractFormatting.php" --> function "__construct": comment out the section about flatten [ 'a'].

If you want to get divs and spans to appear, change the code in "ExtractFormatter.php" --> function "filterContent": comment out the section about removeAttribute('class') and removeAttibute('style').

The removal of those three items was annoying me. ~~~~~

Reply to "Getting links, spans, and divs to appear"