GithubHelp home page GithubHelp logo

Comments (5)

MinchinWeb avatar MinchinWeb commented on May 28, 2024 1

Please let us laugh with you ;) Glad you figured it out!

from pelican.

justinmayer avatar justinmayer commented on May 28, 2024

I can't reproduce this. On my workstation, I get the following in my generated output:

<p>this <span class="amp">&amp;</span> that</p>

from pelican.

MinchinWeb avatar MinchinWeb commented on May 28, 2024

I can't reproduce this. On my workstation, I get the following in my generated output:

<p>this <span class="amp">&amp;</span> that</p>

Do you have typogrify installed/active? (I think that's where the <span> comes from...)

from pelican.

avaris avatar avaris commented on May 28, 2024

Do you have typogrify installed/active? (I think that's where the <span> comes from...)

<span> yes from typogrify, but escaped &amp; 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 &amp; that</p>

from pelican.

mikekreuzer avatar mikekreuzer commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.