mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Admin Panel / Settings / Layout / Custom head meta tags was saved and published, but the page's <head> only ever received the custom link tags and the manifest, so description, Open Graph and other meta tags never reached a browser or a link preview. They are written now, when custom head tags are enabled. Only <meta> elements are taken from the text: a script, a style, a second title or plain text is dropped, and so are http-equiv refresh and set-cookie, which would redirect every visitor or write their cookies. tests/customHeadMetaTags.test.cjs covers the tags kept and the ones refused; a Playwright case fetches a served page. Thanks to xet7 !