I have tried to replicate a very old program that, in addition to doing several things, such as removing spaces between paragraphs or removing colors and other things, seeks to export a .rtf document to .html, but when it is exported, <p> tags are not generated, only <span> tags are generated, I would like to know if it is due to the new versions of WP, or is there a way to assign the file that I want to save the documents with those <p> tags.
The <p> Tag is written for a new paragraph. What kind of text do you have?
In any case - the HTML is written by the unit WPIOHTML.pas which is always in cluded with WPTools. You can see and modify how the HTML is written.
I already discovered the problem, it's because of the version of wp, before it only saved <p> tags, and now for some reason it wraps them in <div>, and in order not to complicate myself by modifying internal files that handle tags like "WPIO", I made an ansipos and then a replaceText