We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f834ce1 commit 7e68369Copy full SHA for 7e68369
Rules
@@ -55,9 +55,9 @@ class Nanoc3::Filter
55
match = scan_until %r{</#{tag}>}
56
@output << %{<div class="example">\n}
57
@output << %{<div class="filename">#{filename}</div>\n} if filename
58
+ @output << %{<div class="caption">#{caption}</div>\n} if caption
59
@output << %{<pre class="brush: #{replace}; gutter: false; toolbar: false"><code>} <<
60
CGI.escapeHTML(match.pre_match) << %{</code></pre>}
- @output << %{<div class="caption">#{caption}</div>\n} if caption
61
@output << %{</div>\n}
62
end
63
0 commit comments