lib/govspeak.rb in govspeak-0.8.13 vs lib/govspeak.rb in govspeak-0.8.14
- old
+ new
@@ -85,11 +85,12 @@
extension('highlight-answer') { |body|
%{\n\n<div class="highlight-answer">
#{Kramdown::Document.new(body.strip).to_html}</div>\n}
}
- extension('external', surrounded_by("x[", "x")) { |body|
- Kramdown::Document.new("[#{body.strip}{:rel='external'}").to_html
+ # FIXME: these surrounded_by arguments look dodgy
+ extension('external', surrounded_by("x[", ")x")) { |body|
+ Kramdown::Document.new("[#{body.strip}){:rel='external'}").to_html
}
extension('informational', surrounded_by("^")) { |body|
%{\n\n<div class="application-notice info-notice">
#{Kramdown::Document.new(body.strip).to_html}</div>\n}