Postleaf / postleaf

Simple, beautiful publishing with Node.js.

Home Page:https://www.postleaf.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meta russian language

GruFFix opened this issue · comments

If you write articles in Russian, then when meta data is filled as follows

<meta property="og:title" content="&Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&acy; &Scy;&IEcy;&Ocy;">
<meta property="og:description" content="&Pcy;&Rcy;&Ocy;&Vcy;&IEcy;&Rcy;&Kcy;&Acy; &Scy;&IEcy;&Ocy;">

This is probably related to this Cheerio issue. I created a module to workaround this issue in another app, but haven't integrated it into Postleaf yet.

This is probably related to this Cheerio issue. I created a module to workaround this issue in another app, but haven't integrated it into Postleaf yet.

Thank! When to wait for integration in the postleaf?

Sorry, I don't have time this week. If anyone wants to take a stab at this:

  • It looks like Postleaf is using the 0.22 version of Cheerio, not the latest, so that needs to be updated first.
  • Then a new module needs to be created using the patch I linked above (since there isn't an official fix yet).
  • Finally, there are a few places in Postleaf where Cheerio is being used. Those need to be swapped out with the new module and tested thoroughly.

@claviska Do you plan to fix this error?