lib/asciidoctor-epub3/converter.rb in asciidoctor-epub3-1.0.0.alpha.2 vs lib/asciidoctor-epub3/converter.rb in asciidoctor-epub3-1.0.0.alpha.3
- old
+ new
@@ -4,10 +4,10 @@
module Asciidoctor
module Epub3
# tried 8288, but it didn't work in older readers
WordJoiner = [65279].pack 'U*'
-WordJoinerRx = RUBY_ENGINE_JRUBY ? /uFEFF/ : WordJoiner
+WordJoinerRx = RUBY_ENGINE_JRUBY ? /\uFEFF/ : WordJoiner
# Public: The main converter for the epub3 backend that handles packaging the
# EPUB3 or KF8 publication file.
class Converter
include ::Asciidoctor::Converter