-
I have been working on translating my site over to Pelican (which I'm generally really enjoying), but I have a question about HTML indentation. When the output files are generated, all indentation is lost. Is there a setting I can set to have the generator leave the tabs in when it writes the HTML code? I'm using Jinja style codes, and I tried setting the JINJA_ENVIRONMENT trim settings to False, but that didn't help. For example, this part of my template has indentation:
But the generated HTML output comes out like this, all left justified:
I know it's just housekeeping, but I find it easier to check the source code when it's indented. Is it a Markdown setting? I looked through those but didn't really see anything that looked applicable. Have I missed something somewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I kept investigating, and it appears to be caused by using the Image-Process plugin. After I uninstalled that, the HTML comes out pretty again. Not sure how to fix this, but at least I know what the culprit was and where to look. |
Beta Was this translation helpful? Give feedback.
I kept investigating, and it appears to be caused by using the Image-Process plugin. After I uninstalled that, the HTML comes out pretty again. Not sure how to fix this, but at least I know what the culprit was and where to look.