From afa0d23f4c9d43d1c577a09725e23e187a496196 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 29 Jun 2020 23:13:51 -0400
Subject: [PATCH] sanitycheck fix

---
 src/facilities/nursery/widgets/children/childSummary.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/facilities/nursery/widgets/children/childSummary.js b/src/facilities/nursery/widgets/children/childSummary.js
index 8a0322fc34b..0ba86b5aa61 100644
--- a/src/facilities/nursery/widgets/children/childSummary.js
+++ b/src/facilities/nursery/widgets/children/childSummary.js
@@ -133,13 +133,11 @@ App.Facilities.Nursery.ChildSummary = function(child) {
 			}
 			r += `</span> `;
 		} else if (abbreviate.hormoneBalance === 2) {
-			r += `<span class=`;
 			if (child.hormoneBalance <= -21) {
-				r += `"deepskyblue"`;
+				r += `<span class="deepskyblue"> `;
 			} else {
-				r += `"pink"`;
+				r += `<span class="pink"> `;
 			}
-			r += `> `;
 			if (child.hormoneBalance < -400) {
 				r += `Overwhelmingly masculine`;
 			} else if (child.hormoneBalance <= -300) {
-- 
GitLab