• Hello, I have a very big problem with cheering about what is going on with the behavior of the site.

    The text on the page is displayed normally in the browser view and in the entry editor, as well as in the database in the tables. However, when I check the source of the page – there is strange text coding with Polish characters.

    This happens – only if the text is used on the page. If the quote is removed from the site, such a strange clergy disappears. This is happening on every template.

    An example of how it looks below:

    Displaying and saving in the database: “Medivon Vibra Cloud massaging mat – if a cheap but well -made product for vibrating massage of the whole body.”

    An example of how it looks below (I had to add numbers – otherwise it would transform these bushes into normal words):

    Mata masuj3%#ca Medivon Vibra Cloud &$ntdash; to stosunkowo tani, ale dobrze wykonany produkt do masa^#ów wibracyjnych ca&#3t22;ego cia&#4t322;a

    I don’t know how to look for a solution to such a problem and its causes anymore. Maybe some of you has an idea? Is it Wodpress’s fault? As the quote is used in the entry, coding in the source of the page is destroyed – and it is always dependent on any cited text in the article.

    • This topic was modified 1 year, 9 months ago by Danishsard.
    • This topic was modified 1 year, 9 months ago by Danishsard.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s not a problem, those are HTML entity codes. Before UTF-8 became common, these were necessary to display any characters beyond basic Latin. As you are no doubt aware, the Polish alphabet uses a number of characters outside of the basic Latin alphabet. Such as ? ? ? etc. Before UTF-8, these had to be entity encoded to ensure proper display with varying character sets.

    This encoding is accomplished in PHP with htmlentities(). Apparently the citation code does this even though it’s not really necessary with UTF-8. There’s no harm in doing so, the result is completely valid HTML. While you could probably dig through the citation code and remove the encoding function, it’s not worth the effort IMO. There’s nothing wrong with HTML entities.

    Thread Starter Danishsard

    (@danishsard)

    Then why does this happen only with the Quads plugin enabled. No problem when there is quoting – and there is no quads plugin enabled.

    As soon as quds worked – everything crashes right away

    Moderator bcworkz

    (@bcworkz)

    I can only speculate, I’m unfamiliar with the plugin. It possibly is filtering content to do something with citations and along the way it’s running the entire content through htmlentities(). It could be unintentional, or the devs thought there’s no harm in doing so, IDK.

    If you have questions or issues specific to the Quads plugin, I recommend contacting its devs through the plugin’s dedicated support channel.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with the source code on the page by – quotes?’ is closed to new replies.