Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

the html generate not works for firefox #1

Merged
merged 1 commit into from

2 participants

@zodman

add a templatetag.

@chrisglass
Owner

Awesome, thanks

@chrisglass chrisglass merged commit 04ab14e into chrisglass:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 17, 2010
  1. @zodman
This page is out of date. Refresh to see the latest.
View
4 cmsplugin_facebook/templates/cmsplugin_facebook/likebox.html
@@ -16,6 +16,7 @@
allowTransparency="true">
</iframe> -->
{% endcomment %}
+{% spaceless %}
<iframe src="http://www.facebook.com/plugins/likebox.php?
href={% autoescape on %}{{ instance.pageurl }}{% endautoescape %}&amp;
width={% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}{% endif %}&amp;
@@ -30,4 +31,5 @@
width:{% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}{% endif %}px;
height:{{ instance.height }}px;"
allowTransparency="{{instance.transparent}}">
-</iframe>
+</iframe>
+{%endspaceless%}
View
4 cmsplugin_facebook/templates/cmsplugin_facebook/likebutton.html
@@ -14,6 +14,7 @@
allowTransparency="true">
</iframe> -->
{% endcomment %}
+{% spaceless%}
<iframe src="http://www.facebook.com/plugins/like.php?
href={% autoescape on %}{{ instance.pageurl }}{% endautoescape %}&amp;
layout={% if instance.layout %}{{instance.layout}}{% endif %}&amp;
@@ -26,4 +27,5 @@
frameborder="0"
style="border:none;overflow:hidden; width:{% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}{% endif %}px; height:{{ instance.height }}px;"
allowTransparency="true">
-</iframe>
+</iframe>
+{% endspaceless%}
View
5 cmsplugin_facebook/templates/cmsplugin_facebook/sharebutton.html
@@ -7,6 +7,7 @@
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
-->
{% endcomment %}
+{% spaceless %}
<a
name="fb_share"
type="{{ instance.style }}" # Can be button, button_count or box_count (box_count is above, button_count is inline)
@@ -14,4 +15,6 @@
{% if instance.share_url %}
share_url="{{instance.share_url}}"
{% endif %}>{{instance.button_text}}</a>
- <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
+ <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
+
+{% endspaceless %}
Something went wrong with that request. Please try again.