• Resolved deemy

    (@deemy)


    Hi,

    I have used the section on the widget that says “you can enter your owner excerpt here, if you want” to add some contact details on a custom sidebar.

    https://swiftbase.eu/?page_id=14

    The email address gets split onto 2 lines on the dot (.) and when I use Chrome Developer Tools to inspect the html and css I find that the code has split the email address using in to a new “p” block whereas it should be part of the previous “p” block and use “br” tags to separate data on to different lines as all of the code before the email address line behaves (see code below)

    <p>Swiftbase International<br>
    Harpsden<br>
    Henley-on-Thames<br>
    Oxfordshire<br>
    RG9 4HL<br>
    Tel +44 (0)1491 410913<br>
    Email info@swiftbase.</p>
    <p>com</p>

    com has been placed in its own “p” tag block!

    I tested it by placing a dot in another random location and the same thing happened there!

    The reason I had to do it this in the first place was that the post I’m “importing” into this had all of its html stripped (it was a “ul” block with roughly 6 “li” entries) and all of the address and contact details appeared with any html and only a space between them. They were all on the same line until it wrapped around at the edge of the sidebar, therefore it wasn’t looking like a typical contact details block would normally look like on a website!

    https://www.ads-software.com/plugins/post-feature-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tepelstreel

    (@tepelstreel)

    Hi there,

    if you uncheck the box that says Check to have each sentence in a new line., your problem should be solved.

    Regards

    Thread Starter deemy

    (@deemy)

    Hi,

    It worked, thanks.

    Can you tell me why the widget was stripping all of the html (ul,li elements) from my actual post which contains the contact details and address in a ul/li block???

    Thanks again

    deemy

    Plugin Author tepelstreel

    (@tepelstreel)

    Hi again,

    the auto-excerpt function is stripping the html, because it was actually designed to create an excerpt of a certain length. It turned out that one of my customers was writing his posts in a strange way. That’s why I had to build in the stripping.

    I don’t remember which other of my plugins it was. But there is one with an option not to strip the html. If I find it back, I can build a new checkbox into this one.

    Best,
    Stefan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FPW splits post entries on dots (.) when using widget excerpt box’ is closed to new replies.