Skip to content

Commit f6d4c2d

Browse files
committed
version bump to v2.3.0
1 parent 08fee8c commit f6d4c2d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

lib/loofah.rb

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
22

3-
require 'nokogiri'
3+
require "nokogiri"
44

5-
require 'loofah/metahelpers'
6-
require 'loofah/elements'
5+
require "loofah/metahelpers"
6+
require "loofah/elements"
77

8-
require 'loofah/html5/safelist'
9-
require 'loofah/html5/libxml2_workarounds'
10-
require 'loofah/html5/scrub'
8+
require "loofah/html5/safelist"
9+
require "loofah/html5/libxml2_workarounds"
10+
require "loofah/html5/scrub"
1111

12-
require 'loofah/scrubber'
13-
require 'loofah/scrubbers'
12+
require "loofah/scrubber"
13+
require "loofah/scrubbers"
1414

15-
require 'loofah/instance_methods'
16-
require 'loofah/xml/document'
17-
require 'loofah/xml/document_fragment'
18-
require 'loofah/html/document'
19-
require 'loofah/html/document_fragment'
15+
require "loofah/instance_methods"
16+
require "loofah/xml/document"
17+
require "loofah/xml/document_fragment"
18+
require "loofah/html/document"
19+
require "loofah/html/document_fragment"
2020

2121
# == Strings and IO Objects as Input
2222
#
@@ -28,7 +28,7 @@
2828
#
2929
module Loofah
3030
# The version of Loofah you are using
31-
VERSION = '2.2.2'
31+
VERSION = "2.3.0"
3232

3333
class << self
3434
# Shortcut for Loofah::HTML::Document.parse
@@ -77,7 +77,7 @@ def scrub_xml_document(string_or_io, method)
7777

7878
# A helper to remove extraneous whitespace from text-ified HTML
7979
def remove_extraneous_whitespace(string)
80-
string.gsub(/\n\s*\n\s*\n/,"\n\n")
80+
string.gsub(/\n\s*\n\s*\n/, "\n\n")
8181
end
8282
end
8383
end

0 commit comments

Comments
 (0)