Fix #13835: classes separated by form feed
(cherry picked from commit d8a35011ec05ed3493a85c1bd699902893cd437c)