1. Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
    Dismiss Notice
  2. For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
    Dismiss Notice
  3. Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
    Dismiss Notice
  4. If you wish to change your username, please ask via conversation to tehelgee instead of asking via my profile. I'd like to not clutter it up with such requests.
    Dismiss Notice
  5. Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
    Dismiss Notice
  6. A note about the current Ukraine situation: Discussion of it is still prohibited as per Rule 8
    Dismiss Notice
  7. The rules regarding NSFW links have been updated. See here for details.
    Dismiss Notice
  8. The testbed for the QQ XF2 transition is now publicly available. Please see more information here.
    Dismiss Notice

Is it possible to add support for Ruby Text?

Discussion in 'Suggestions & Bugs' started by Xamusel, Sep 7, 2019.

  1. Xamusel

    Xamusel Currently a Gamma-11 on FFN

    Joined:
    Oct 1, 2015
    Messages:
    2,071
    Likes Received:
    2,845
    I'm asking this because I have a story that I'm working on that requires the Ruby Text feature. If I don't have it, it won't make much sense for the way the story text works, at least on some occasions.
     
    Ddmkm122 and wasprider like this.
  2. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    Now it is.

    [rubytext]漢[rt]かん[/rt]字[rt]じ[/rt][/rubytext] will now give かん

    Works on non-Japanese text too, of course.
     
    Last edited: Sep 14, 2019
  3. Xamusel

    Xamusel Currently a Gamma-11 on FFN

    Joined:
    Oct 1, 2015
    Messages:
    2,071
    Likes Received:
    2,845
    Thanks. :) I appreciate that.
     
    Ddmkm122 and wasprider like this.
  4. evildice

    evildice (emotionally stable clown posse)

    Joined:
    Jan 10, 2015
    Messages:
    18,382
    Likes Received:
    295,522
    purelesbiansmuthand-holding

    Nice.
     
    Last edited by a moderator: Sep 14, 2019
  5. BlackHadou

    BlackHadou A Resting Bui

    Joined:
    Aug 10, 2015
    Messages:
    5,985
    Likes Received:
    27,366
    THANKBest YOUForum!!!!
     
    Last edited by a moderator: Sep 14, 2019
  6. justinkal

    justinkal Connoisseur.

    Joined:
    Aug 15, 2015
    Messages:
    10,756
    Likes Received:
    29,559
    Would it be possible to add an autospaced version that uses the following syntax?
    [ruby='upper row']lower row[/rubytext]

    Edit:
    Didn't realize it would autospace if you just didn't split the top row among multiple rt tags.
     
    Last edited by a moderator: Sep 14, 2019
    Ddmkm122 likes this.
  7. BlackHadou

    BlackHadou A Resting Bui

    Joined:
    Aug 10, 2015
    Messages:
    5,985
    Likes Received:
    27,366
    That might be dangerous, since that's the html syntax.
     
    Ddmkm122 likes this.
  8. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    Yes, this is just directly emitting the HTML tags with the same names, so the semantics are the same. In particular, each rt element will be centered over the text that directly preceded it.
     
    Ddmkm122 likes this.
  9. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    To alert anyone watching here, the tag [ruby] has been changed to [rubytext].
     
    Ddmkm122 likes this.
  10. BlackHadou

    BlackHadou A Resting Bui

    Joined:
    Aug 10, 2015
    Messages:
    5,985
    Likes Received:
    27,366
    Some notes as someone using Rubytext.

    1. Nettally breaks if it reads a vote with rubytext in it.

    2. If you forget to close the rubytext tag it does fuuuuuunky things in the preview (the text keeps going off the right side of your screen). I'm not sure I wanna know what it looks like in actual post.
     
  11. MissileTeatime

    MissileTeatime By the power of Vaporware!

    Joined:
    Apr 21, 2017
    Messages:
    1,966
    Likes Received:
    5,832
    That sounds like the same shenanigans as described here. A couple people noticed, I doubt anyone bothered with a screenshot. But I predict it would look pretty much the same.
     
    Ddmkm122 likes this.
  12. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    1 is a Nettally problem; it's probably trying to treat the rubytext tag as a vote category. Nothing I can do about that here.

    2 is pretty expected; the bbcode reduces directly to underlying HTML, and if you fail to close a ruby tag in HTML it messes up everything something fierce. Sadly, not much I can do about that either.
     
    Ddmkm122 and wasprider like this.