Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Team Staatic

    (@staatic)

    Hi @angelseee , first of all thanks for trying Staatic to improve the speed and performance of your WordPress site.

    In order for Staatic to be able to extract and replace URLs in the HTML source, it relies on a HTML DOM parser. The default HTML DOM parser used is “PHP DOM Wrapper (scotteh/php-dom-wrapper)”, which (from our experience) performs really well when processing a large number of pages. However, as a side effect it may alter the HTML source, and in this case causing the Cyrillic characters to be replaced by numerical character references (NCRs). This is perfectly valid HTML and may even improve compatibility with certain clients.

    However, if you prefer to keep the HTML as original as possible, we recommend using “Simple Html Dom Parser (voku/simple_html_dom)”. This can be changed from Staatic > Settings > Advanced, and then Crawler > HTML DOM Parser. See also this article from our documentation: https://staatic.com/documentation/administrator-guide/configuration/advanced-settings/#crawler-html-dom-parser.

    Does this answer your question?

    Thread Starter angelseee

    (@angelseee)

    Thank you very much for the quick reply! Cyrillic issue resolved! Your Staatic is a wonderful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cyrillic in HTML code’ is closed to new replies.