Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion v7/wordpress_compiler/wordpress/default_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion v7/wordpress_compiler/wordpress_compiler.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Name = wordpress
Module = wordpress

[Nikola]
PluginCategory = Compiler
PluginCategory = PageCompiler
MinVersion = 7.6.1

[Documentation]
Expand Down
Loading