Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Extra line breaks with no apparent cause

25 days ago
So I am not using the RTE. I have a page where I have two

blocks of text and then a table in it's own

block. When it actually renders to the page though there is a huge gap between the last paragraph and the start of the table. It's like it's adding extra
tags, but I don't see any when I look at the source. There are a bunch of inserted breaks mixed into the table that I can't seem to get rid of. I suppose this could be causing that, but I'm not really sure how to get rid of them. Any ideas?

Extra line breaks with no apparent cause

25 days ago
Can you post the code for Ogre or someone to look at?

Extra line breaks with no apparent cause

24 days ago
This is the code in question: This is the same code rendered to the page: And this is what that code looks like in browser: Sorry, I tried to throw pre and code tags around that and it wouldn't work, so I had to screencap it.

Extra line breaks with no apparent cause

24 days ago
Have you tested it without the extension? Or at least with the option that adds line breaks disabled. Might as well rule that out.

If you're hitting enter after every line of code it might be inserting tags for that.

Extra line breaks with no apparent cause

24 days ago
I think that is what is happening. If I remove all line breaks from the table, the gap goes away. If I add them back in, the gap reappears. I have the line break preservation option turned off, but if I have linebreaks to make the table easier to read on the code side, it still creates the extra breaks, so I guess I need to leave it compressed.

Extra line breaks with no apparent cause

24 days ago
Yes, you can see that in the source of the rendered page with the BR tags. When the code is being interpreted, your line breaks are converted to the BR tag. Leave them in until the page is perfect, then remove them all and never look at the code page again.