smart_tag 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module SmartTag
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -17,7 +17,7 @@
17
17
 
18
18
  that.clearText = function(text) {
19
19
  // \s 匹配任何空白字符,包括空格、制表符、换页符等等。等价于[ \f\n\r\t\v]。
20
- return text.replace(/^\s+|\s+$/g, ""); // 去掉开头或结尾的任何空白字符
20
+ return text.replace(/^\s+|\s+$/g, ""); // 去掉开头和结尾的任何空白字符
21
21
  };
22
22
 
23
23
  that.getOptions = function(selector) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: