rfelix / my_jekyll_extensions

Portable Jekyll extensions I use for my website (to be used with jekyll_ext)
http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/
57 stars 11 forks source link

semi-colon missing in css? #2

Closed mmehnert closed 14 years ago

mmehnert commented 14 years ago

I've just had a problem with a rather intolerant parser that did not accept the inline css without a semi-colon. I'm not sure what the standard says but maybe it does not hurt to have it there after the px.

--- tag_category_iterator/sample_data/tagcloud.html 2010-06-26 20:27:50.000000000 +0200
+++ ../tags/tagcloud.html   2010-06-28 02:32:17.000000000 +0200
@@ -6,7 +6,7 @@
 <h1> Tags </h1>
 <ul>
 {% for tag in site.iterable.tags %}
-  <a style="font-size: {{ tag.posts | size | times:1.5 | plus: 10 }}px" href="{{site.baseurl}}/tags/{{tag.name}}">
+  <a style="font-size: {{ tag.posts | size | times:1.5 | plus: 10 }}px;" href="{{site.baseurl}}/tag/{{tag.name}}">
     {{ tag.name }}</a>{% if forloop.last == false %},&nbsp;{% endif %}
 {% endfor %}
 </ul>
rfelix commented 14 years ago

Added ';' to inline stype for the sample tag cloud in tag_category_iterator. Closed by 964ecc0ef78d5bbbe9ed1a9b936b05a095a885da

Charlesjourdain commented 1 year ago

Added ';' to inline stype for the sample tag cloud in tag_category_iterator. Open by 964ecc0ef78d5bbbe9ed1a9b936b05a095a885da