support home

Back to website
Welcome
Login  Sign up

Remove new line (<br>) in Privacy Policy

While using Direct Text Embedding and API the result html has a redundant new line element <br /> right after the first paragraph (<p>) int the first block. That element leads to a redundant huge white space between  two similar paragraphs (see attachment).

Example.

https://www.iubenda.com/api/privacy-policy/252372 

<h1>Privacy Policy of <strong>www.iubenda.com</strong></h1>
<p>This Website collects some Personal Data from its Users.</p>
<br />
<p>This document contains <a href=\"#california_info\" target=\"_self\">a section dedicated to Californian consumers and their privacy rights</a>.
...

  That <br /> should be removed cause it's a hardcoded formatting and not a pure plain HTML.

pp.png
(81 KB)
  • Or if you're really wants that space it must be implemented via class-attribute or id-attribute for the appropriate paragraph.

     

    <h1>Privacy Policy of <strong>www.iubenda.com</strong></h1>
    <p id="important-paragraph-id" class="important-paragraph-class">This Website collects some Personal Data from its Users.</p>
    ...

     

Login or Signup to post a comment