SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Punctuation in hashtags?

Open diaspora-redmine-github-migration opened this issue 15 years ago • 11 comments

Issue 995 from bugs.joindiaspora.com Created by: moonray On Tue Apr 5 16:57:46 2011

Priority: Normal Status: Implemented

Should punctuation (such as .!?) be included in the hashtag? Twitter doesn't, and it seem to me it shouldn't. Example I used: #facebook!

When shared on twitter the exclamation mark isn't included in the hashtag, but on diaspora it is.

Comment by: MrZYX On Tue Apr 5 18:33:34 2011

What's your problem with it? I don't see any reason for conformity with twitter.

Comment by: j4v4m4n On Wed Apr 6 04:59:22 2011

You expect the tag to be '#facebook', but it took it as '#facebook!' instead. You won't get any updates tagged with '#facebook' when you click on the tag with '!'.

Comment by: j4v4m4n On Wed Apr 6 05:00:12 2011

Same bug discussed on http://gsfn.us/t/27ns4

Comment by: neuromancer On Thu Apr 7 21:55:03 2011

It is not the same bug. That bug is fixed. I think it is a feature what you want.

Comment by: j4v4m4n On Fri Apr 8 13:08:58 2011

Another common case is brackets, for eg: (http://xmonad.org/). URL gets the closing bracket and full stop at the end and it breaks. Should I file a new bug for this? I thought it is related because tags are also handled as urls.

Comment by: j4v4m4n On Fri Apr 8 13:09:44 2011

btw redmine itself handle it correctly as expected, strips closing bracket and full stop from the link as expected.

Comment by: MrZYX On Fri Apr 8 15:29:49 2011

j4v4m4n wrote:

Another common case is brackets, for eg: (http://xmonad.org/). URL gets the closing bracket and full stop at the end and it breaks. Should I file a new bug for this? I thought it is related because tags are also handled as urls.

#996

Comment by: MrZYX On Sun May 22 15:02:46 2011

added \b to the regex: #h!gh? -> the tag would be "h!gh"

Facebook and Twitter both handle "#QuotedHashtags" differently from #Diaspora. screenshot from 2014-04-14 16 54 24

AsherBond avatar Apr 14 '14 23:04 AsherBond

@AsherBond the quotes are a separate thing, not punctuation - care to raise another issue if there is none?

jaywink avatar Apr 15 '14 06:04 jaywink

Sure, there's no attachment to this specific closed issue thread on my end. I can create another.

AsherBond avatar Apr 15 '14 10:04 AsherBond