Comments (8)
Hmm... I can't reproduce the problem with header in logiciels.html
- it's literally working for me fine, I've just copied your files. I'm using gostatic 1.11.
As for escaping UTF-8 text to HTML entities - html
function doesn't really do that, it only escapes various entities which can be used in HTML (like <, >, &).
from gostatic.
Crap. I mean "by Gads and by Jingo!". ;)
I'm using 1.13 x64, on Windows, do you think it could explain the difference?
I'll try 1.11 tomorrow and let you know.
from gostatic.
Hm, I've updated to 1.13 and everything seems to be ok. I get two files in site
, both of which are normal rendered html.
from gostatic.
Got it! It seems to be something to do with line-breaks: they were inconsistent accross files, some of them used the Unix system (LF), others used the Windows one (CRLF). I changed everything to CRLF and it didn't work so I switched to LF and it did the trick.
Thanks for being so reactive!
Should I close the issue or is it something worth looking at in future releases?
from gostatic.
Hmm, let's leave it open for now, I'll think a bit, maybe normalizing whitespace inside of an app is worth it.
from gostatic.
OK.
from gostatic.
Derp. Seems like this is the same thing I reported in #57. @LaBetonneuse : is it possible to test this with the latest version so this one (#26) and #57 can be closed? :D
from gostatic.
Fixed in 2.4.
from gostatic.
Related Issues (20)
- Inconsistencies with gostatic.Page HOT 2
- Globstar support
- Html formating in site.gohtml can trigger <pre><code> output HOT 1
- 2021-02-06-somepost.md style filenames date parsing
- Generate tag overview on 1 page HOT 2
- Relativize filter destroys protocolless URLs HOT 1
- Template bug? HOT 3
- Interest in Chroma highlighting? HOT 1
- ~30 golangci-lint warnings on codebase HOT 1
- 404 error handling? HOT 1
- UTF-8 with BOM support HOT 2
- Multiple outputs? HOT 3
- Question: how to you relativize paths? HOT 2
- [question] Use Date field for directory structure
- Large memory usage when downloading large files HOT 6
- [question] Config file name and file format HOT 1
- [yaml] support CRLF HOT 1
- [yaml] tags not present
- dump option HOT 1
- download script HOT 1
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 gostatic.