FPW splits post entries on dots (.) when using widget excerpt box
-
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!
- The topic ‘FPW splits post entries on dots (.) when using widget excerpt box’ is closed to new replies.