Permalink
Browse files

Removing Rubypants (automatic smartquotes)

- Parsing an entire page through this is bad, it can break things.
- There are better ways to integrate this kind of feature.

Fixes jekyll/jekyll#3701
  • Loading branch information...
1 parent 5c26928 commit d684a65e4286532789a3f8b160df80ee5801a4a1 @imathis committed May 13, 2015
Showing with 0 additions and 493 deletions.
  1. +0 −1 Gemfile
  2. +0 −3 plugins/octopress_filters.rb
  3. +0 −489 plugins/rubypants.rb
View
@@ -11,7 +11,6 @@ group :development do
gem 'haml', '~> 4.0'
gem 'compass', '~> 1.0.1'
gem 'sass-globbing', '~> 1.0.0'
- gem 'rubypants', '~> 0.2.0'
gem 'rb-fsevent', '~> 0.9'
gem 'stringex', '~> 1.4.0'
end
@@ -4,7 +4,6 @@
require 'jekyll-sitemap'
require 'octopress-date-format'
require './plugins/raw'
-require 'rubypants'
module OctopressFilters
def self.pre_filter(page)
@@ -19,8 +18,6 @@ def self.post_filter(page)
if page.ext.match('html|textile|markdown|md|haml|slim|xml')
page.output = TemplateWrapper::unwrap(page.output)
end
-
- page.output = RubyPants.new(page.output).to_html
end
class PageFilters < Octopress::Hooks::Page
Oops, something went wrong.

0 comments on commit d684a65

Please sign in to comment.