bpo-43882 Remove the newline, and tab early. From query and fragments. (GH-25936)

(cherry picked from commit 985ac016373403e8ad41f8d563c4355ffa8d49ff)
2 files changed