ariatemplates / usermanual

This repo holds the articles for ariatemplates.com/usermanual (text content only)
http://ariatemplates.com/usermanual/latest/
5 stars 18 forks source link

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

Open ymeine opened 10 years ago

ymeine commented 10 years ago

(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 commented 10 years ago

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.