Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atom.xml generation - Entity 'ldquo' not defined #1759

Open
TheAshwanik opened this issue Jan 16, 2016 · 3 comments
Open

atom.xml generation - Entity 'ldquo' not defined #1759

TheAshwanik opened this issue Jan 16, 2016 · 3 comments

Comments

@TheAshwanik
Copy link

When I generate pages.
An atom.xml is generated with following content at the first line.

<p>&lt;?xml version=&ldquo;1.0&rdquo; encoding=&ldquo;utf-8&rdquo;?>

And when I hit the browser I get an error:

This page contains the following errors:
error on line 1 at column 28: Entity 'ldquo' not defined
Below is a rendering of the page up to the first error.

My _config.yml file has this:

 subscribe_rss: /atom.xml
 subscribe_email:
 root: /
 permalink: /blog/:year-:month-:day/:title/
 source: source
 destination: public    
 plugins: plugins
 code_dir: downloads/code
 category_dir: blog/categories
 markdown: rdiscount
 rdiscount:
   extensions:
     - autolink
     - footnotes
     - smart
 highlighter: pygments

I think I am aware that ' chars are changed to ldquo due to rdiscount smart extension. But If thats the case, I should not be getting the error on browser.
I am confused. Any help would be great.

If I remove 'smart' extension, then the generated atom.xml does not contain the &gt; , due to which it fails again and throws some other error.

@TheAshwanik
Copy link
Author

Any idea guys? @imathis @parkr

@TheAshwanik
Copy link
Author

@imathis @parkr
First off, I am grateful for the work you guys do. I am sure that others feel the same.
I know you would be busy in your other streams. But could you please take few seconds and comment in this issue.
Any direction would be grateful.

@parkr
Copy link
Collaborator

parkr commented Feb 21, 2017

Hey, very late here. I must have missed your issue. This sounds like an incompatibility with with the "smart" extension – I don't know of a workaround 😦 Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants