Open IliaOzhmegov opened 1 year ago
If you use the current version of listing.tmpl with bootstrap4/bootblog4, does this issue still occur?
Yes, it does, but I had to remove 📂
to make it work as well as all the other emoji in the rest themes to make it work 🤔
If you had to remove the escape as well, this is a lxml bug that should probably be reported there instead of Nikola. This bug seems to be platform-specific — could you try reproducing it with some simpler lxml code and reporting the bug there?
I have a similar issue with Nikola 8.2.4. It works with Nikola v8.0.2.
Same issue here. Patched in a fallback value in my local code copy, because opening the blog for the first time in ages and seeing it broken didn't quite motivate me to build a real fix:
document = lxml.html.fromstring(teaser or "<div></div>")
(in nikola/post.py
, L936 or thereabouts, in the teaser_only
part of Post.text()
.)
Environment
Python Version: 3.10 and 3.11
Nikola Version: 8.2.3
Operating System: macOS Ventura (13.2.1)
Description:
The same issue as the following:
There is something wrong with emoji in that theme
so I "fixed" it by replacing
bootblog4
withbase
inconf.py
. And on top of that inbase/templates/gallery.tmpl
I replaced 📂 with📂
(according to the #3663)