agical / friendsunhosted

FRIENDS#UNHOSTED - Own your network!
http://friendsunhosted.com/
Other
13 stars 2 forks source link

Keep whitespace on beginning of line in comments&statuses #43

Closed brolund closed 11 years ago

brolund commented 11 years ago

To be able to add some structure (e.g. for code), replace spaces at beginning of line with   and tabs with 4 of those.

johlrogge commented 11 years ago

I think that is a path that can only lead to misery once threaded. I think either keep it as it is or enable markdown for comments. For most purposes markdown wont be noticed so you don't have to know you're using it.

A poor mans solution would be to wrap posts in <pre></pre>

even github doesn't preserve whitespace

unless of course
    you put it in a code
        block
johlrogge commented 11 years ago

didn't mean to close it. It honestly was a mistake eventhough I think it is a terrible idea :)

johlrogge commented 11 years ago

I think this markdownparser looks very good: https://github.com/chjj/marked

brolund commented 11 years ago

Markdown would be great. I guess github et al has found the security problems already... ;-)

jancborchardt commented 11 years ago

Yeah, agree with @johlrogge – whitespace shouldn’t be preserved except in an explicit code block.

brolund commented 11 years ago

Instead of just whining about it ;-) I created a new issue #44. :-)

johlrogge commented 11 years ago

Yes, I came out much more negative than I intended to. Sorry about that and good response to change the tone to a positive one in #44

brolund commented 11 years ago

Well probably do #44. Closing this.