html comments in the form html code are converted to paragraphs
-
Hi There,
if I insert (multi-line or single line) comments in the code of a form like for instance:
<!– *****************
First name * Last name
***************** –>
or
<!– Gender –>The resulting html code contains this:
…
<div style=”padding-bottom:6px; display: block; float: left; width: 100%; margin-bottom: 0px; margin-top: 0px; background-color:#ededed;” ></div>
<p><!– *****************
First name * Last name
***************** –></p>
<div style=”padding-bottom:12px; display: block; float: left; width: 100%; background-color: #ededed; padding: 0px 20px 0px 20px;”>
…See the <p> </p> tags around the comment?
This results in additional space being added to the form.
I work with the wordprress 4/3/1 and Divi theme 2.5.6
Chris
- The topic ‘html comments in the form html code are converted to paragraphs’ is closed to new replies.