clwiki 3.2.6 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88f3646fc174c186690fa0704bf8eea487dd0b9aa04192d1dada2048215a84b1
4
- data.tar.gz: 19e1e949c5db182f1ccd98069f9a6bbe8b251db3d3cd557d7229c1d4204f0d75
3
+ metadata.gz: 051dbf9e39cf68f41e5c69a886a10557804c72e6e5db49ea07960c6276da83f1
4
+ data.tar.gz: 467f17ad5a7c80f357507c4db86c5d508cb9206508fd0f2ea91ebfc5af56f118
5
5
  SHA512:
6
- metadata.gz: adb5a002ccaaf9eb214008caf18922f55e4f1c64aea000f46cc15815c7d0b72d54b36ba78440aba9a2e4d95740453c0de1b6a0d5ee04e8f2cc1c99403519e423
7
- data.tar.gz: 7de2d1f85a2f7b42aeea640da0822c6a81a269a4ee7f07d5efacfccee5e649ce801f01fa8bbd585e21fc4265657ffc0ad98f4e605d4754424bab64df591add23
6
+ metadata.gz: d5e2a0a569e6d24a7a80b19c78586a76fef848fe68415c6b22278fd008fcd90cb4af631a5fb87ee29e6c7f46d5071e286aad157552c39d74a1e1791c21410b03
7
+ data.tar.gz: 5706ffbcb5220cb91a44eee7005eb5a9c14af1f89ae33d67f614ff688663def87610d66a987f6c2323c0fff48d4e8cc5b4b0a28c0cc0b1b354cdba6ce5a32592
@@ -10,7 +10,9 @@ module ClWiki
10
10
 
11
11
  def self.format_content(content, page)
12
12
  content = CGI.escapeHTML(content)
13
+ content.gsub!(/\[p\]\n/i, '<blockquote><pre>')
13
14
  content.gsub!(/\[p\]/i, '<blockquote><pre>')
15
+ content.gsub!(%r{\[/p\]\n}i, '</pre></blockquote>')
14
16
  content.gsub!(%r{\[/p\]}i, '</pre></blockquote>')
15
17
  end
16
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClWiki
4
- VERSION = '3.2.6'
4
+ VERSION = '3.3.0'
5
5
  end