I am outputting the title of a post in a view and in Firefox and MS Edge the output is adding a space before the title of the text which for some reason adds a "obj" dashed box in front of the title. This does not happen in Chrome. I have added sanitize output and this does not help. Any idea what is going on?
Hi, is there any leading whitespace before the title of each post in wp-admin? Please edit the post for Tomek C and check the title. If there is any whitespace before the T in Tomek, remove it. Then check the loop or template in this View for any extra whitespace before the title text. Remove any if you find it. My guess is that there is some unusual character or whitespace area that is not being interpreted correctly by some browsers and the fonts that are used on those browsers. This could occur during an import process or when copy +pasting from Word or some other text program. Hopefully deleting any whitespace will correct that. If not, I'll need to take a closer look.
There is no white space. Chrome there no space in the source code but in Firefox there is. In the admin there is no whitespace and in the view there is no white space.
The space is also there if curl it:
curl -i <em><u>versteckter Link</u></em>
Let's try a few more troubleshooting steps, then I'll jump into wp-admin if these don't reveal anything:
- Temporarily deactivate all plugins except Types and Views, then switch to a default theme like Twenty Nineteen.
- If you want to activate a maintenance mode plugin during testing, that's fine.
- Test and see if the OBJ block is still visible. If not, reactivate your theme and other plugins one by one until the problem returns
- IF the OBJ block is still visible, restore the theme and plugins and provide login credentials here in the private reply fields. I'll log in and install the Duplicator plugin to create a site clone, so I can run additional tests locally without affecting your live site.