[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] headerlib: Module priority group comment is now outside the script tag...

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6980e0bf4432_3b18405c92561@gitlab-sidekiq-low-urgency-cpu-bound-v2-8d99998b5-lxgr5.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
46c8fa46 by Benoit Grégoire at 2026-02-02T17:28:07+00:00
[FIX] headerlib:  Module priority group comment is now outside the script tag...
---
* [FIX] headerlib:  Module priority group comment is now outside the script tag and needs to be a html comment.  Follow up to 8613e5e (MR 9447)

See merge request tikiwiki/tiki!9469

- - - - -


1 changed file:

- lib/headerlib.php


Changes:

=====================================
lib/headerlib.php
=====================================
@@ -870,7 +870,7 @@ class HeaderLib
         if (count($this->js_modules)) {
             $b = '';
             foreach ($this->js_modules as $x => $js) {
-                $b .= "// js_modules $x \n";
+                $b .= "\n<!-- js_modules $x -->\n";
                 foreach ($js as $j) {
                     //Modules cannot be fused together in a single script tag, it was a bug.
                     //By now (2026-01-19 the following slightly adapted message has been pinned at the top of the tiki community chat channel for well over a year,



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/46c8fa462302d8974d7417d4531d04c975536bbd

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/46c8fa462302d8974d7417d4531d04c975536bbd
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.