From 96b42b0fd920c9758eac7368967f67c7e49b2ad4 Mon Sep 17 00:00:00 2001 From: Batrachophreno Date: Fri, 11 Jul 2025 13:41:26 -0400 Subject: [PATCH] Href closures hotfixes (#20981) Hotfix for some integrated circuit weirdness and a misplaced loadout apostrophe --- .../preference_setup/loadout/loadout.dm | 2 +- .../core/integrated_circuit.dm | 6 +- .../Batrachophreno-HrefClosuresMoreFixes.yml | 59 +++++++++++++++++++ 3 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/Batrachophreno-HrefClosuresMoreFixes.yml diff --git a/code/modules/client/preference_setup/loadout/loadout.dm b/code/modules/client/preference_setup/loadout/loadout.dm index 40d11599b3b..b761cee56e5 100644 --- a/code/modules/client/preference_setup/loadout/loadout.dm +++ b/code/modules/client/preference_setup/loadout/loadout.dm @@ -206,7 +206,7 @@ GLOBAL_LIST_INIT(gear_datums, list()) if(thing in pref.gear) style = "style='color: #FF8000;'" break - . += " [category] " + . += " [category] " . += "" var/datum/loadout_category/LC = GLOB.loadout_categories[current_tab] diff --git a/code/modules/integrated_electronics/core/integrated_circuit.dm b/code/modules/integrated_electronics/core/integrated_circuit.dm index a9ae76d09b6..77c70511cae 100644 --- a/code/modules/integrated_electronics/core/integrated_circuit.dm +++ b/code/modules/integrated_electronics/core/integrated_circuit.dm @@ -124,7 +124,7 @@ a creative player the means to solve many problems. Circuits are held inside an if(io.linked.len) for(var/datum/integrated_io/linked in io.linked) words += "[linked.name] \ - @ [linked.holder.displayed_name]
" if(outputs.len > inputs.len) height = 1 @@ -141,7 +141,7 @@ a creative player the means to solve many problems. Circuits are held inside an if(io.linked.len) for(var/datum/integrated_io/linked in io.linked) words += "[linked.name] \ - @ [linked.holder.displayed_name]
" if(inputs.len > outputs.len) height = 1 @@ -157,7 +157,7 @@ a creative player the means to solve many problems. Circuits are held inside an if(io.linked.len) for(var/datum/integrated_io/linked in io.linked) words += "[linked.name] \ - @ [linked.holder.displayed_name]
" + @ [linked.holder.displayed_name]
" HTML += "" HTML += "[jointext(words, null)]" diff --git a/html/changelogs/Batrachophreno-HrefClosuresMoreFixes.yml b/html/changelogs/Batrachophreno-HrefClosuresMoreFixes.yml new file mode 100644 index 00000000000..d9ee7b00463 --- /dev/null +++ b/html/changelogs/Batrachophreno-HrefClosuresMoreFixes.yml @@ -0,0 +1,59 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: Batrachophrenoboocosmomachia + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixed unclosed hrefs; Integrated Circuits complexity issues." + - bugfix: "Fixed double-closed hrefs; loadout category issue."