XWIKI-11228: Hiding line number does not work in view source.

(cherry picked from commit bcd98a54ab4687c3a8c85e2f9e90a306668ba006)