greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.47k stars 441 forks source link

Forum generates unnecessary line breaks #253

Closed jixunmoe closed 10 years ago

jixunmoe commented 10 years ago

It generates extra line breaks when not supposed to.

Consider the following post:

<ol>
  <li>First thing</li>
  <li>Second thing</li>
  <li>Third thingy</li>
</ol>
Some other text here...

Expected output was:

1. First thing
2. Second thing
3. Third thingy
Some other text here...

However, it adds extra line break that just looks wrong, especially when the list is kind long:

1. First thing

2. Second thing

3. Third thingy

Some other text here...
tobbexiv commented 10 years ago

Do you have a example uri? Becaus I think it's not a line break but just some css styling issue and I don't want to open a new thread just to test it.

jixunmoe commented 10 years ago

Forum link: https://greasyfork.org/forum/discussion/1432

I've checked that the css styling was not the issue.

jixunmoe commented 10 years ago

And formatted version of html generated on the page:

<div class="Message">
    <ol>
        <br />
        <li>First thing</li>
        <br />
        <li>Second thing</li>
        <br />
        <li>Third thingy</li>
        <br />
    </ol>
    Some other text here...
</div>
tobbexiv commented 10 years ago

Ok then the vanilla forum converts every line break to a <br> and so I would say this is more an issue of theforum than Greasy Fork.

jixunmoe commented 10 years ago

Okey then..