• Resolved lpe04

    (@lpe04)


    Hello,

    I’m trying to insert an HTML tag into all my posts before the 3rd paragraph using AdInserter.

    When I try to use something like <section class="name"> as the bit of code I would like to insert, Ad Inserter will instead add
    <section class="name"></section> into the post,
    automatically adding the </section> which I never wanted.

    How can I prevent it from inserting this </section>?

    Thanks!

    • This topic was modified 4 years ago by lpe04.
    • This topic was modified 4 years ago by lpe04.
    • This topic was modified 4 years ago by lpe04.
Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    Ad Inserter inserts the code exactly as configured. It does not modify it in any way.

    This means that the extra code is inserted somewhere else.

    The plugin only wraps the block code with a wrapping div with alignment styles.
    To insert pure code withoput the wrapping div use No wrapping alignment.
    https://adinserter.pro/documentation/alignments-and-styles

Viewing 1 replies (of 1 total)

The topic ‘Prevent Ad Inserter from correcting/completing HTML code’ is closed to new replies.