avdgaag / typogruby

Improves web typography like Django's Typogrify
http://avdgaag.github.com/typogruby
MIT License
51 stars 9 forks source link

  inside tags #17

Closed estebarb closed 12 years ago

estebarb commented 12 years ago

typogruby insert   inside tags, or style attribute and others... for example:

<div id="aniver" style="
background-image:url('/static/colorfulbackground.png');
background-repeat:no-repeat;
text-align:center;
margin:0;
padding:0;

background-size: 100% 100%;" >

outputs:

<div id="aniver"&nbsp;style="
background-image:url('/static/colorfulbackground.png');&nbsp;background-repeat:no-repeat;
text-align:center;&nbsp;margin:0;
padding:0;
background-size: 100% 100%;" >
avdgaag commented 12 years ago

Thanks for opening the issue. It's fixed now, but of couse I do have to add the obligatory comment that multi-line inline styles are a bad idea.

Feel free to re-open this issue if the fix does not work for you.