Skip to content

Commit

Permalink
fix: Dont escape html for footer (LycheeOrg#400)
Browse files Browse the repository at this point in the history
Make behavior consistent with PHP backend logic
  • Loading branch information
timo-reymann committed Jun 11, 2023
1 parent 8add9f3 commit b4cd2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main/lychee.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ lychee.localizeStaticGuiElements = function () {
: lychee.site_copyright_begin + "–" + lychee.site_copyright_end
)
: "";
footer.querySelector("p.personal_text").textContent = lychee.footer_additional_text;
footer.querySelector("p.personal_text").innerHTML = lychee.footer_additional_text;
footer.querySelector("p.hosted_by a").textContent = lychee.locale["HOSTED_WITH_LYCHEE"];
/** @type {HTMLDivElement} */
const footerSocialMedia = footer.querySelector("div#home_socials");
Expand Down

0 comments on commit b4cd2c8

Please sign in to comment.