Comments (6)
Bonjour encore!
C'ést une problème de PHP-Typography …
(okay, it has been a while since I’ve been talking or writing French … ;-) )
Basically, Kirby-Typography is a port of the wp-Typography, so you should open an issue in that repository in this case.
from kirby-typography.
But If you encounter any issues with my plugin, free to discuss them here :-)
from kirby-typography.
So you would like to have Les « courants ...
as the output? Generally, PHP_Typography tries not to interfere with any "smart quotes" that are already present in the text, on the assumption that if they are there, the content writer intended them exactly like this.
from kirby-typography.
Makes sense, I agree here with @mundschenk-at on this. Otherwise, you could end with a lot of unexpected behaviour. Think, it should stay like that.
@fvsch If this is really an issue, you should be able to fix it with a kirbytext::$post
filter.
from kirby-typography.
If this is really an issue, you should be able to fix it with a kirbytext::$post filter.
Yes, it's a real issue we have on a project with 80 articles or pages being copied over from simple Word documents. Quotation marks in those documents are always « quoted text »
, as is the default for Word set up with French settings.
I have no problem with writing a fix on our side (already did this in the project), but I do believe it should be a part of PHP_Typography, so I've argued my point over there. :)
from kirby-typography.
I've just added a branch that includes a fix for this issue.
from kirby-typography.
Related Issues (20)
- Implement API Methods and helper Functions
- Can't disable hyphenation HOT 1
- Hyphenation of headings
- Requirements bug? HOT 1
- typography.diacritics.custom [documentation] HOT 7
- Adding a basic composer.json HOT 4
- Issue with unwanted pull/push--doubleQuote
- Change default quotes to doubleCurled and singleCurled HOT 12
- regex pattern or specific replacement HOT 1
- Text-Squashing (in Safari 11) HOT 5
- Error with Smartypants in Kirby 2.5.8 HOT 3
- Kirby 3 HOT 7
- Loads non-existent file in panel HOT 2
- Parse error on PHP 5.5 HOT 1
- Localize Dashboard Widget HOT 1
- How to deal with the caching gotcha HOT 4
- Consider disabling by default: typography.hyphenation HOT 2
- Providing a hyphenate field method HOT 2
- Add Troubleshooting section to Readme
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 kirby-typography.