Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
EmailParser.HTMLToPlainText
Converts HTML to plain text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
EmailParser | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "EmailParser.HTMLToPlainText"; HTML ) More
Parameters
Parameter | Description | Example |
---|---|---|
HTML | The HTML text to convert. | "<p>Hello World</p>" |
Result
Returns text or error.
Description
Converts HTML to plain text.This is used internally for HTML only emails.
Does not convert formatting. Just removes html tags, adds new line characters and translates html entities.
See also Text.DecodeFromHTML for just removing html entities.
See also
Release notes
- Version 14.2
- Improved EmailParser.HTMLToPlainText to handle title tag.
- Version 12.5
- Improved EmailParser.HTMLToPlainText function to better handle comments in html and div tags.
- Version 11.0
- Optimized EmailParser.HTMLToPlainText function to add new line after pre element and to skip space runs.
- Version 8.5
- Improved EmailParser.HTMLToPlainText to better filter JavaScript.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 14.2pr1
- MBS FileMaker Plugin, version 12.5pr3
- Neues MBS FileMaker Plugin 11.0
- MBS FileMaker Plugin 11.0 - More than 6400 Functions In One Plugin
- MBS FileMaker Plugin, version 10.6pr1
- MBS FileMaker Plugin, version 8.5pr1
This function checks for a license.
Created 24th September 2015, last changed 22nd August 2018