Text after quote is bigger


(Sander Datema) #1

Unless my eyes deceive me it looks like the text on this post is not all the same size.


Nothing fancy was added to the text, this is the raw source:

It looks like [this topic](http://meta.discourse.org/t/there-is-no-way-to-view-a-global-list-of-staff-user-invites/9032?u=sander78) between @sam and @codinghorror has a history of being in multiple places. Judging from this:
http://meta.discourse.org/t/there-is-no-way-to-view-a-global-list-of-staff-user-invites/9032/10?u=sander78
This new topic has @sam as the topic starter. However, on the mail list you see @codinghorror as such:
<img src="//discourse-meta.s3-us-west-1.amazonaws.com/original/2X/c/cbc52d20a23dfa1712f4bb60a262f78a4be2e22d.png" width="690" height="32">
So... I guess that is a bug? 

It seems that the second bit of text has a different CSS class than the first one. Couldn’t find out what yet.

Edit: ha, it happens here as well: first text is normal, then after the screenshot it’s bigger and after the code block it’s normal again.


(Jeff Atwood) #2

You need some linefeed/CR between elements. Otherwise you won’t get <p>aragraphs. This is a standard expectation in Markdown.

Right now you’re just sort of mushing everything together with no lines between paras – you don’t even put a line before or after the <img>:

Unless my eyes deceive me it looks like the text on [this post](http://meta.discourse.org/t/after-topic-moved-topic-starter-in-list-is-wrong/9041?u=sander78) is not all the same size.<img src="//discourse-meta.s3-us-west-1.amazonaws.com/original/2X/9/91905e0913d83f9bba373522c264720589770d40.png" width="690" height="292">
Nothing fancy was added to the text, this is the raw source:
```markdown
It looks like [this topic](http://meta.discourse.org/t/there-is-no-way-to-view-a-global-list-of-staff-user-invites/9032?u=sander78) between @sam and @codinghorror has a history of being in multiple places. Judging from this:
http://meta.discourse.org/t/there-is-no-way-to-view-a-global-list-of-staff-user-invites/9032/10?u=sander78
This new topic has @sam as the topic starter. However, on the mail list you see @codinghorror as such:
<img src="//discourse-meta.s3-us-west-1.amazonaws.com/original/2X/c/cbc52d20a23dfa1712f4bb60a262f78a4be2e22d.png" width="690" height="32">
So... I guess that is a bug? 
```
It seems that the second bit of text has a different CSS class than the first one. Couldn't find out what yet.

Kind of awful to read with no linefeeds between elements, isn’t it? GIGO!


(Sander Datema) #3

Alright… so guilty as charged. :smile:

The only thing is that half of the forum population has never heard of Markdown, let alone its rules. And no, I do know Markdown, so I could have expected this behaviour.

So, let’s get the population to get to know Markdown then.


(Sam Saffron) #4

what’s wrong with?

body .contents .cooked {
  font-size: 14px; 
}

(Jeff Atwood) #5

Nothing but text content outside paras is really unhealthy, we should be able to see it to diagnose it.


(Sam Saffron) #6

Sure, but we don’t need to expose the general populous to this, why not run a user style locally or a user plugin that adds the following to your experience?

body .contents .cooked {  
  font-size: 100px; 
}

(Jeff Atwood) #7

I really prefer to see this visually as I strongly dislike post text outside <p>aras.


(Kane York) #8

This has been fixed for quite some time, I’m pretty sure.


(Jeff Atwood) #9

I was still seeing it until recently, mixing some forms of quoting (particularly [quote] with or without CRLF in certain ways) could cause it.

Would like to leave this open just in case.

All standard text in a post should always be in a <p> tag, if it is not, I take that personally.


(Sam Saffron) #10

I don’t see a point keeping this open unless we have a repro here.


(Sam Saffron) #11

(Jeff Atwood) #12

Confirmed, happens with IMG tag between paragraphs with no linebreaks. Basically the same scenario we have seen with quotes, but substitute the img tag. @eviltrout

Good news is it is much less common, but I really object to text outside paras.