Comments (5)
Google translate also screws up
from typeset.
I've now disabled the optical margin alignment feature by default. It breaks too many things.
from typeset.
I need to think this through and do some research, from both web accessibility and search optimization.
One solution that was discussed is the possibility of adding an aria-label
to the parent element that's being converted -- but that's too risky (and may require a major version bump that will break some sites).
- If user has set
.post-typeset
to a<div>
element that already containsaria-label
it may break things. - I suppose we can wrap the element with another span that contains the
aria-label
, but I also need to double check that this is the best approach.
I'll be investigating this in the coming days.
from typeset.
Would it work to just wrap the whole word instead?
<span class="pull-A">At</span> the beginning
from typeset.
@AndrewKvalheim Brilliant! I can't think of a good reason that would not work
from typeset.
Related Issues (20)
- Assorted quote substitution bugs
- Spans inside link tags seem to affect underlines
- Hanging punctuation before smallcaps HOT 2
- Recommendation against use of for...in for array iteration.
- Hanging punctuation inside em inside a
- add readme instruction on using it in browser HOT 1
- add .pull-T etc will mess up kerning
- numbers shouldn't be added small-caps class
- Usage with webpack? HOT 1
- Custom class names
- Interferes with Mathjax / LaTeX
- Abbreviations?
- Mid-paragraph push/pull spans not working HOT 3
- hanging punctuation for right-aligned blocks? HOT 1
- Cheerio is a dev dependency, should be dependency HOT 1
- HTML Entities are turned into actual characters HOT 1
- Request: Widow control (widont)
- Typeset removing closing slash on void (singleton) elements HOT 4
- En-dash for number ranges HOT 3
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 typeset.