Comments (5)
Please let us laugh with you ;) Glad you figured it out!
from pelican.
I can't reproduce this. On my workstation, I get the following in my generated output:
<p>this <span class="amp">&</span> that</p>
from pelican.
I can't reproduce this. On my workstation, I get the following in my generated output:
<p>this <span class="amp">&</span> that</p>
Do you have typogrify
installed/active? (I think that's where the <span>
comes from...)
from pelican.
Do you have
typogrify
installed/active? (I think that's where the<span>
comes from...)
<span>
yes from typogrify
, but escaped &
is not. So I cannot replicate this either, here is without typogrify:
$ cat content/articles/article.md
title: test
date: 01-01-2023
this & that
$ cat pelicanconf.py
SITEURL = 'https://example.com'
TIMEZONE = 'Europe/Paris'
TYPOGRIFY = False
$ pelican content -s pelicanconf.py
Done: Processed 1 article, 0 drafts, 0 hidden articles, 0 pages, 0 hidden pages and 0 draft pages in 0.09 seconds.
$ grep that output/test.html
<meta name="description" content="this & that" />
</footer><!-- /.post-info --> <p>this & that</p>
from pelican.
I am an idiot - profuse apologies.
PyCharm & Safari were both unescaping the text again when they showed it to me, even in the editor, I don't know why they'd do that, it was only when I happened to open a file in VS Code that I saw it was indeed there all along.
Sorry, sorry, sorry.
from pelican.
Related Issues (20)
- Use classless semantic HTML in the "simple" theme HOT 12
- The quickstart instructions don't work HOT 1
- Pelican Webassets Cache Breaks Github Pages Deployment (File Permissions) HOT 4
- Introductory tutorial: 'OrderedDict' object has no attribute 'deregister' HOT 10
- pages is treated as articles HOT 3
- Pelican 4.9.1. cannot start HOT 4
- Import posts from medium download HOT 2
- Missing "getting started with Pelican on GitLab" HOT 4
- Internal URLs not parsed in summaries HOT 11
- Enhance Social widget documentation HOT 2
- pelican --print-settings should show all possible settings, including those unset by default HOT 3
- Pelican or Jinja problem? HOT 2
- Pelican Install Problem - Debian 11 HOT 4
- Adding keywords metadata to specific page HOT 5
- Is there a way to set `ext.i18n.trimmed` Jinja2 policy in Pelican? HOT 2
- How to handle line length limit error? HOT 4
- Anchor links in feeds are not absolute
- Option to disable the RichHandler log handler?
- how to use rst-directive such as "toctree" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pelican.