Fixed encode-entities order