[-] bennel@lemmy.world 13 points 3 months ago* (last edited 3 months ago)

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.

[-] bennel@lemmy.world 7 points 4 months ago

4!? Since when was there a Jurassic World 2 and 3? Did they not do any promotions of them or something or do I live under a rock?

[-] bennel@lemmy.world 44 points 5 months ago

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?

[-] bennel@lemmy.world 7 points 5 months ago

That's not a money reason or a store related reason. That's really on the developer. Mac is a different architecture. Often times Mac versions require extra development.

Linux is gaining more ground not because of a store or the developers themselves, but because Proton makes the windows versions of games run on Linux.

My argument was about exclusivity deals, not technical compatibility.

[-] bennel@lemmy.world 7 points 5 months ago

Yes, I do realize the money goes to the same place. My argument is not that Epic should go bankrupt. My argument is that I don't want to encourage or support the Epic Store.

"vote with your wallet" - my vote says I approve of unreal but disapprove of epic store.

[-] bennel@lemmy.world 28 points 5 months ago

Yep. Heard great things about the game, but I'm waiting till it's on steam to get it. I refuse to give Epic a dime. Exclusivity deals hurt consumers.

[-] bennel@lemmy.world 7 points 8 months ago

How else is it pronounced?

[-] bennel@lemmy.world 20 points 10 months ago* (last edited 10 months ago)

Do what I do: hold tight and pretend it's a plan.

- 11th

[-] bennel@lemmy.world 22 points 1 year ago

The funniest example of this being the development of COVID vaccines

I disagree. The funniest example of Trump never admitting he's wrong is definitely the Four Seasons Landscaping press release.

[-] bennel@lemmy.world 13 points 1 year ago

In Canada and the UK, if the government fails to pass a budget, it triggers an automatic vote of no confidence, parliament is dissolved, and it triggers a general election.

US politicians do not suffer any consequences for failing to do their job.

[-] bennel@lemmy.world 10 points 1 year ago

BG3 is based on the DnD 5e system, with some homebrew rules. Items have different tiers of rarity. While there may only be one in existence in this game, it's not a unique item in Torril at large in the context of the Forgotten Realms.

I'm not saying that your idea is wrong. It makes sense in the context of this specific game. I'm just pointing out why it is how it is right now.

[-] bennel@lemmy.world 17 points 1 year ago
view more: next ›

bennel

joined 1 year ago