diff --git a/modules/config_games/config_servers.php b/modules/config_games/config_servers.php index ee387950..0e4d15ce 100644 --- a/modules/config_games/config_servers.php +++ b/modules/config_games/config_servers.php @@ -185,6 +185,14 @@ function config_games_script_node_names(): array * CDATA section so the file becomes well-formed. Non-script elements are left * untouched. * + * Assumptions / limitations: + * - Script elements are treated as leaf nodes (no child elements expected). + * Nested XML tags inside a script block are not supported and the regex + * will not handle them correctly. + * - The detection of an already-present CDATA section relies on the opening + * tag being immediately followed by '