diff --git a/v7/wordpress_compiler/wordpress/default_filters.py b/v7/wordpress_compiler/wordpress/default_filters.py index c335b70c..26440032 100644 --- a/v7/wordpress_compiler/wordpress/default_filters.py +++ b/v7/wordpress_compiler/wordpress/default_filters.py @@ -103,7 +103,7 @@ def __wptexturize_setup(self): # used on the right-hand side. Since Python throws an exception in that case, while PHP simply treats \2 as an empty string, # I had to remove the "+'\\2'" after opening_quote. if '"' != closing_quote: - dynamic.append((r'"(\s|\S|\Z)', closing_quote + '\\1')) # closing double quote + dynamic.append((r'"', closing_quote)) # closing double quote if "'" != closing_single_quote: dynamic.append((r'\'([\s.]|\Z)', closing_single_quote + '\\1')) # closing single quote diff --git a/v7/wordpress_compiler/wordpress_compiler.plugin b/v7/wordpress_compiler/wordpress_compiler.plugin index a23e60eb..e6c07c48 100644 --- a/v7/wordpress_compiler/wordpress_compiler.plugin +++ b/v7/wordpress_compiler/wordpress_compiler.plugin @@ -3,7 +3,7 @@ Name = wordpress Module = wordpress [Nikola] -PluginCategory = Compiler +PluginCategory = PageCompiler MinVersion = 7.6.1 [Documentation]