diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index d84abe9523a26c96357b0de1fb8f37eb04149278..020689c4e1c3ca6097b1bc42afcd1b6688de0d60 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -1459,14 +1459,14 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) r = []; if (slave.breedingMark === 1 && V.propOutcome === 1 && (slave.pregSource === -1 || slave.pregSource === -6)) { r.push(`The ${societalElite}`); - r.push("span", `are pleased`, "green"); + r.push(App.UI.DOM.makeElement("span", `are pleased`, "green")); r.push(`at the new additions to their class.`); V.failedElite -= (2 * numBeingBorn); } else if (V.eugenicsFullControl !== 1) { r.push(`The ${societalElite}`); - r.push("span", `are disappointed`, "red"); + r.push(App.UI.DOM.makeElement("span", `are disappointed`, "red")); r.push(`that you would allow subhuman filth to dirty the arcology under your watch. Society`); - r.push("span", `frowns`, "red"); + r.push(App.UI.DOM.makeElement("span", `frowns`, "red")); r.push(`on the unwelcome addition of more subhumans into the world.`); V.failedElite += (5 * numBeingBorn); repX(forceNeg(10 * numBeingBorn), "birth", slave);