Comments (8)
PRs welcome
from md-page.
Hello, I'm new to Open source. How can I contribute to this topic ?
from md-page.
https://www.freecodecamp.org/news/how-to-contribute-to-open-source-projects-beginners-guide/
from md-page.
What is the character that is failing?
How to reproduce?
from md-page.
What is the character that is failing? How to reproduce?
Based on context, probably a C-Cedilla ( รง ).
Having trouble reproducing the problem, seems to process them fine for me.
Has this been patched?
from md-page.
It's a matter of charset encoding. Their server doesn't specify any charset encoding within the Content-Type header. The browser start searching for the meta tag - that's simply not there, being generated afterwards - reverting to default content type.
Possible solutions (I'm not an expert of md-page):
- Setting the charset encoding directly from Apache (wise)
- Putting the JS and the Markdown inside an html template that pre-defines the charset meta tag (it should work without duplicates, am I correct?)
- Saving the file not as UTF-8 but UTF-8 with BOM
from md-page.
I've just set up a small demo:
- With content-type charset: http://tests.codingwh.com/md-page-accent/
- Without: http://tests.codingwh.com/md-page-accent/without
- With BOM: http://tests.codingwh.com/md-page-accent/bom/
It happens, obviously, only if the default charset of the browser is different from utf8 :D
from md-page.
See: https://github.com/oscarmorrison/md-page/blob/main/docs/common_problems.md
from md-page.
Related Issues (20)
- Add Russian language HOT 4
- Border (width) for webpage HOT 4
- Syntax highlight for inline code does not work HOT 2
- Ability to inject own styles? HOT 1
- Bootstrap + MD-page HOT 4
- Question about setting up dev HOT 1
- Can't make external stylesheet to work. HOT 4
- Automating Build Process HOT 17
- Pixel unit missing on body
- Can i use md-page in IE11 ? HOT 3
- IE 11 issues HOT 22
- Call a user-supplied function when conversion complete? HOT 3
- small grammatical mistakes in Readme.md HOT 3
- npm run test fails: 18 snapshots failed. HOT 2
- Convert to HTML? HOT 1
- md-page.js is gone HOT 3
- Improve readability
- Fix release github actions ci HOT 6
- Using images 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 md-page.