Hello guest, if you like this forum, why don't you register? https://forum.fanres.com/member.php?action=register (December 14, 2021) x


Misinterpretated Text-Conversion-To-Smileys

2 Replies, 2982 Views

I came across this ...
:victory: [Image: confused.png]uperman: :victory:

... which reminded me of the same thing I had to deal with by Disable Smilies on a particular post.

Apparently, the algorithm used to determine text combinations for conversion to smiley graphics doesn't include assuring that the smiley text is completely isolated by spaces. The above example -- confused_smilies uperman: -- was from a colon, followed by the word "superman", followed by a colon. The present algorithm neglects a full-isolation check and so takes the starting colon and the first letter "s" (or "S") and immediately converts it to a smiley without consideration of the rest of the word from which it was taken.

BTW, this may have something to do with my seeing deletions, by the Delete and/or Backspace  keys, getting stuck in place (and not deleting anything). Maybe, too, it could be problems with copying a word that includes the preceding space and pasting it elsewhere but with that preceding space not pasting, too. It could be lower-level editing and/or parsing bugs. Worse still is that they are not consistently repeatable.   Cry
[Image: jason-and-the-argonauts.png]
"The gods want their entertainment.  The gods of Greece are
cruel!  In time all men shall learn to live without them."
About smilies: we have not a "superman" or "victory" smilies, so MyBB recognizes only the Confused part of your : Superman: as a smilie, as it should be.

We could always move to "Emoji" puncutation with colon before and after the emoji type - like :emoji:

Backspace/Delete: I noted the same, can't say if it's smilies management or not... hope Feallan could check this.
Sadly my projects are lost due to an HDD crash... Sad
Fundamental Collection | Vimeo channel | My blog
I can't really change this, not without making changes to the parser code by myself (there are no settings for this in ACP unless I'm blind). This is probably a bug, because it's supposed to be intelligent, for example we have this emoticon Undecided, but links (http://) are unaffected by the parser.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Not All Smilieys Converting From Text To Image BronzeTitan 3 3,430 2019-01-14, 06:03 AM
Last Post: LucasGodzilla
  [Idea] A Fix For The Hard-to-see Dark Smileys BronzeTitan 40 20,258 2018-09-08, 05:11 AM
Last Post: spoRv
  Text Editing Glitch: BACKSPACE deleting BronzeTitan 3 3,757 2017-05-04, 06:19 PM
Last Post: BronzeTitan



Users browsing this thread: 1 Guest(s)