• 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle


  • You’d save it to the database in the same field as the rest of the text. You don’t store the positions or anything like that - you’d store the text with HTML and have the front end render it as expected.

    For instance, the database could have the following text:

    Hello <strong>World</strong>
    

    And the front end just renders HTML.

    Alternatively, you could store Markdown syntax if you’re hesitant to allow HTML.

    EDIT: as always, if you store raw HTML, don’t forget to sanitize it.


  • Nintendo issued an apology in 2020 over the issue, but argued that players who purchased the items were bound by the user agreement of the Nintendo Switch and thus ineligible to participate in a class action lawsuit against the company.

    I’m not a lawyer, but this seems suspicious. How would this work? If I purchase a product in a retail store, where exactly would I sign something agreeing to give up my eligibility to participate in a class action suit? Are they trying to argue that linking the hardware to your account carries over the restriction to any hardware used?