import {__} from "./globals"; import {decode} from "he"; import {CardType} from "./tree/cards"; /** * Decodes HTML entities in a string. * Converts entities like & to &, < to <, etc. * IMPORTANT: This does NOT render HTML tags - it only decodes entities to their characters. * For example: "&" becomes "&", but "