lib/inky/rails/engine.rb in inky-rb-1.3.7.0 vs lib/inky/rails/engine.rb in inky-rb-1.3.7.1
- old
+ new
@@ -2,10 +2,10 @@
module Inky
module Rails
class Engine < ::Rails::Engine
if config.respond_to?(:annotations)
- config.annotations.register_extensions("inky") { |annotation| %r(//\s*(#{annotation}):?\s*(.*)$) }
+ config.annotations.register_extensions("inky") { |annotation| /<!--\s*(#{annotation}):?\s*(.*) -->/ }
end
end
end
end