https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22639

--- Comment #46 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211990
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211990&action=edit
Bug 22639: (RM follow-up) Restore the commented-out head and body tags in
mappings.tt

Bug 22639 formatted mappings.tt with prettier directly instead of
misc/devel/tidy.pl. The Koha Template Toolkit prettier plugin rewrites
</head>, <body ...> and </body> as HTML comments because they are
unbalanced inside a single template, and only tidy.pl reverts that. The
commit therefore left

    <!--</head>-->
    <!--<body id="admin_searchengine_mappings" class="admin">-->

in the template, so the page was served with its head and body tags
commented out.

xt/tt_tidy.t did not catch it: tidy.pl cannot repair an already damaged
file (prettier nests the comment and tidy.pl strips only the inner
pair), so its output equals the damaged file and the test passes.

Restore </head> and <body id="admin_searchengine_mappings"
class="admin">. tidy.pl --no-write now reproduces the file unchanged.

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to