Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphenation doesn't work well with code elements under Firefox #71

Open
ymeine opened this issue Apr 3, 2014 · 1 comment
Open

Hyphenation doesn't work well with code elements under Firefox #71

ymeine opened this issue Apr 3, 2014 · 1 comment
Labels

Comments

@ymeine
Copy link
Contributor

ymeine commented Apr 3, 2014

(related to #11)

I faced a problem with hyphenation under Firefox, which unfortunately introduces an hyphen inside code elements, which leads to wrong content. Like this:

Hyphenation example under Firefox

This is due to the following CSS rule:

CSS rule for hyphenation under Firefox

_Tested under Firefox 28.0_

I would suggest either to completely remove hyphenation, or to tweak it in order to make it not happen in code elements (or alike).

@jakub-g
Copy link
Collaborator

jakub-g commented Apr 3, 2014

IMO this is not a very big deal. When you select the text and copy, it would not be hyphenated.

Without hyphenation, the previous line would either be very stretched (if align==justify) or half-blank (if align==left) and everything will be moved to the next line.

We can live with this IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants