lib/govspeak.rb in govspeak-0.8.10 vs lib/govspeak.rb in govspeak-0.8.11
- old
+ new
@@ -85,11 +85,11 @@
extension('highlight-answer') { |body|
%{\n\n<div class="highlight-answer">
#{Kramdown::Document.new(body.strip).to_html}</div>\n}
}
- extension('external', surrounded_by("x")) { |body|
- Kramdown::Document.new("#{body.strip}{:rel='external'}").to_html
+ 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}