SoylentNews / slashcode

The slashcode repository for SoylentNews. The initial code base was uploaded as it appeared on Sourceforge as of the last commit in September 2009
http://soylentnews.org
GNU General Public License v2.0
44 stars 22 forks source link

Subscribe link on home page needs whitespace for proper formatting in some cases #396

Closed marty-b closed 9 years ago

marty-b commented 9 years ago

Subscribe link on home page needs whitespace for proper formatting in some cases. Yes, I agree that this is not functionally impacting. On the other hand, I see it every single time I load the home page and it is very jarring to me.

In theory, white space should not make a difference in this case. Unfortunately, there is inconsistency among browsers in rendering elements that are followed by whitespace from those that are not followed by whitespace. We can, at the least, present the same HTML to the browsers and thus get consistent display to the user, no matter which browser they use. 1.) Launched http://soylentnews.org 2.) Logged in 3.) Saw Slashbox on left-hand side with title "Navigation" 4.) Within that slashbox saw a "sub-box" titled "You" 5.) On my mobile's browser, noticed the entry for "Subscribe" seemed outdented 1 character. 6.) Viewed source of the page. 7.) Saw all entries, except for Subscribe, formatted as: [li] [a href="//soylentnews.org/my/friends"]Friends, Foes[/a] [/li] 8.) Saw there was a new-line after each of those, and a tab before the anchor element. 9.) Saw that the entry for subscribe had no intervening whitespace: [li][a href="//soylentnews.org/subscribe.pl"]Subscribe[/a] 10.) Please format the Subscribe entry to be consistent with all the other entries in the slashbox.

paulej72 commented 9 years ago

This issue was moved to SoylentNews/rehash#152