summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorYOSHITANI Mitsuhiro <luckval@gmail.com>2013-07-10 17:18:23 (GMT)
committerYOSHITANI Mitsuhiro <luckval@gmail.com>2013-07-10 17:18:23 (GMT)
commitac097986a6d4ab090e804a32dae10f2a424897af (patch)
tree9dbed7592e71e2a5e6588ea8e0ec4fe9c9a17c57 /app
parentd86f0fcd81bc05e2e728e79387280c5bcc2ed105 (diff)
downloadwiki_external_filter-ac097986a6d4ab090e804a32dae10f2a424897af.zip
wiki_external_filter-ac097986a6d4ab090e804a32dae10f2a424897af.tar.gz
wiki_external_filter-ac097986a6d4ab090e804a32dae10f2a424897af.tar.bz2
fix over-escaped class definition
Diffstat (limited to 'app')
-rw-r--r--app/views/wiki_external_filter/_macro_image.html.erb2
-rw-r--r--app/views/wiki_external_filter/_macro_svg.html.erb2
-rw-r--r--app/views/wiki_external_filter/_macro_text.html.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/wiki_external_filter/_macro_image.html.erb b/app/views/wiki_external_filter/_macro_image.html.erb
index dfb52fd..c942a84 100644
--- a/app/views/wiki_external_filter/_macro_image.html.erb
+++ b/app/views/wiki_external_filter/_macro_image.html.erb
@@ -1 +1 @@
-<img <%= render_type == 'inline' ? "class='externalfilterinline'" : "" %> src='<%= url_for(:controller => 'wiki_external_filter', :action => 'filter', :macro => macro, :name => name, :index => 0) %>' alt="<%= h source %>" />
+<img <%= raw render_type == 'inline' ? "class='externalfilterinline'" : "" %> src='<%= url_for(:controller => 'wiki_external_filter', :action => 'filter', :macro => macro, :name => name, :index => 0) %>' alt="<%= h source %>" />
diff --git a/app/views/wiki_external_filter/_macro_svg.html.erb b/app/views/wiki_external_filter/_macro_svg.html.erb
index ee9f751..12bdff7 100644
--- a/app/views/wiki_external_filter/_macro_svg.html.erb
+++ b/app/views/wiki_external_filter/_macro_svg.html.erb
@@ -3,7 +3,7 @@
<%
if content.size > 1
%>
- <img<%= render_type == 'inline' ? " class='externalfilterinline'" : "" %> src='<%= url_for(:controller => 'wiki_external_filter', :action => 'filter', :macro => macro, :name => name, :index => 1) %>' alt='<%= h source %>' />
+ <img<%= raw render_type == 'inline' ? " class='externalfilterinline'" : "" %> src='<%= url_for(:controller => 'wiki_external_filter', :action => 'filter', :macro => macro, :name => name, :index => 1) %>' alt='<%= h source %>' />
<%
end
%>
diff --git a/app/views/wiki_external_filter/_macro_text.html.erb b/app/views/wiki_external_filter/_macro_text.html.erb
index a1628b4..211ae7c 100644
--- a/app/views/wiki_external_filter/_macro_text.html.erb
+++ b/app/views/wiki_external_filter/_macro_text.html.erb
@@ -1 +1 @@
-<span<%= render_type == 'inline' ? " class='externalfilterinline'" : "" %>><%= h content[0] %></span>
+<span<%= raw render_type == 'inline' ? " class='externalfilterinline'" : "" %>><%= h content[0] %></span>