Tech Tip: Using WP NEW with Valid HTML Content
PRODUCT: 4D Write Pro | VERSION: 20 R | PLATFORM: Mac & Win
Published On: March 10, 2025
When using WP NEW in 4D, it is crucial to ensure that the text provided is valid HTML in XHTML format.
Passing raw text with reserved symbols (<, >, &, etc.) directly into WP NEW will cause an error because these characters must be properly encoded in XHTML.
Note: 4D sometimes performs an automatic conversion to close unclosed tags in existing HTML, but if no tags are detected, an error will occur.