• Hi, I have been using Contact Form 7 for many years on my site and I am really satisfied as I consider it an excellent PlugIn.
    I've always created contact forms with customized emails, i.e. with tagged fields, and this allows me to automatically import, from the email I receive as site administrator, the data entered by the user on a database software, for example;
    HTML text of the email:
    <strong>Object</strong>
    <Object>[object]</Object>
    where obviously <Object> and </Object> are the two tags that allow the database software to import the text of the Mail object from HTML format.
    
    I recently realized that with the latest versions 5.7 - 5.7.1 - 5.7.2 the HTML text rewritten by Contact Form 7 automatically undergoes changes, i.e. if there are tagged fields on the text of the Mail, paragraph tags are added and also the tag names are changed (the first tag remains with the initial capital letter while the second tag is changed with the initial lower case, for example:
    
    Original HTML text of the Mail:
    <strong>Object</strong>
    <Object>[object]</Object>
    
    HTML text of the Mail rewritten from Contact Form 7:
    <strong>Object</strong>
    <p>
    <Object>[object]</object>
    </p>
    This obviously creates many problems as the Mail is not correctly paginated and the data of the tagged fields cannot be read by the database software.
    How is this happening now?
Viewing 1 replies (of 1 total)
  • BIrdie

    (@goldendust20)

    This appears to happen with elements not wrapped in <p> tags that output paragraph text.

    • This reply was modified 1 year, 8 months ago by BIrdie.
Viewing 1 replies (of 1 total)
  • The topic ‘Contact Form 7 – Unexpected paragraph tags entered automatically on the text of’ is closed to new replies.