We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dda0332 commit 948b826Copy full SHA for 948b826
lib/jekyll-import/importers/wordpressdotcom.rb
@@ -59,7 +59,7 @@ def initialize(node)
59
end
60
61
def text_for(path)
62
- subnode = @node.at_xpath('./' + path) || @node.at(path) || @node.children.find { |child| child.name == path }
+ subnode = @node.at_xpath("./#{path}") || @node.at(path) || @node.children.find { |child| child.name == path }
63
subnode.text
64
65
0 commit comments