bellroy / lesswrong-migrated

Automatically exported from code.google.com/p/lesswrong
Other
0 stars 0 forks source link

div tags cause LW to swallow spaces surrounding hyperlinked or italicised text #304

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Author a new post
2. Edit the html and insert a div
3. Include a hyperlink and some italicised text inside the div and outside of it
4. Save the post and view it (in normal mode, not in the editor).

What is the expected output? 
Spaces where you type spaces in the editor.

What do you see instead?
Nothing (missing spaces).

This issue has been confirmed by many users.

Original issue reported on code.google.com by Matthew.Fallshaw on 7 Jun 2012 at 12:49

GoogleCodeExporter commented 9 years ago
This is caused by the silly (from memory) SpaceCompressedWrapped class in the 
code. We should just get rid of it as any inefficiencies regarding whitespace 
in the rendered markup should be dealt with by gzip.

Original comment by wjmo...@gmail.com on 7 Jun 2012 at 12:57

GoogleCodeExporter commented 9 years ago
Sent pull request - https://github.com/tricycle/lesswrong/pull/16

Original comment by zildjoh...@gmail.com on 13 Jun 2012 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by Matthew.Fallshaw on 14 Jun 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Changes merged to master.

Original comment by wjmo...@gmail.com on 18 Jun 2012 at 3:01