User Tools

Site Tools


reference:spamrules_statement_removetags

This is an old revision of the document!


Spam Filter Rules: RemoveTags

Statement RemoveTags
Version 2.2.1+
Purpose Converts an HTML string to its plain text equivalent

The RemoveTags statement requires a variable name, in the format

RemoveTags <variable name>
  • HTML tags are removed
  • HTML entities are converted to their plain text form (e.g. &quot; → “)

Example

RemoveTags SectionText
# The above line has removed HTML from the variable ${SectionText}
reference/spamrules_statement_removetags.1314175599.txt.gz · Last modified: 2018/11/14 10:44 (external edit)