core: Fix cut off comment in jQuery.map from c72371f714. Close gh-1379.
(cherry picked from commit 2aa2957d213c2801d9999a8902d041026fbb059a)
No ticket: Fix XHTML regression. Close gh-1376.