html-pipeline-bungo 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html/pipeline/bungo/emph_filter.rb +1 -1
- data/lib/html/pipeline/bungo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b29552089151c82ab0c40b114753341e145b7594
|
4
|
+
data.tar.gz: 48b5ef95412fa9e20748588cf2d8c51e9754c0bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09ab7ff37d598a9e1e86195f769968306db0a1b974c19d762e2baade6e11034262382c52d4a55e0fd614fe69e6e147a464ebe09f163f0a4e4d2a6e7e4c6afc06
|
7
|
+
data.tar.gz: d2daafb42e2be4ec233d1ee9a47b24ef5f74cf09cc2b3cdfc2e4e5a47683adafaf0a1b0b02668fcf8e7f42c5aa6e1f17db5d28f8cfef6576d5caee600a05e768
|
@@ -9,7 +9,7 @@ module HTML
|
|
9
9
|
private
|
10
10
|
|
11
11
|
def emph_dot_filter(text)
|
12
|
-
text.gsub(/:([^:\(\)\!]+?)
|
12
|
+
text.gsub(/:([^:\(\)\!]+?)\|/) do |match|
|
13
13
|
literals = $1.split(//).map{|lt| "<span class='boten'>#{lt}</span>"}
|
14
14
|
"<span class='botenparent'>#{literals.join}</span>"
|
15
15
|
end
|