Commit 2b2a199a85ad454f95c42e3d3fa10a6adca39cd6

Authored by Andrey Karpikov
1 parent f4a0e28b

show html in text

... ... @@ -323,7 +323,7 @@ module Kanjai
323 323 if !key.nil? and !value.nil?
324 324 work_value = value.dup
325 325 work_value.gsub!(/\r\n/, "#newline#") if !['code', 'pre'].include?(parent_node_name.to_s.downcase)
326   - new_text.gsub!(key, work_value)
  326 + new_text.gsub!(key, work_value.to_s.html_safe)
327 327 end
328 328 end
329 329 end
... ...
1 1 module Kanjai
2   - VERSION = "0.0.300"
  2 + VERSION = "0.0.301"
3 3 end
... ...