posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

Long links break with blank spaces. #194

Closed greatghoul closed 10 years ago

greatghoul commented 10 years ago

I wrote down a link to chrome webstore like this in markdown

<https://chrome.google.com/webstore/detail/transit/pfjipfdmbpbkcadkdpmacdcefoohagdc>

after compiled to html, open it in browser, select and copy the link's text content (not the url) then paste to and text editor in plain text, it appears as:

https://chrome.google.com/webstore/detail/transit/pfjipfdmbp­ bkcad­ kdp­ macd­ ce­ foohagdc

see this post


Acrylamid 0.7.7

posativ commented 10 years ago

Hi,

this is because of the hyphenate filter which adds &shy; to words longer than 10 characters so browsers can break a word onto a new line (useful when you use a justified text layout, otherwise it is safe to remove this filter).

greatghoul commented 10 years ago

thanks, I removed filter hyphenate, and it works