diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index 3f5a5767..e8727635 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -265,7 +265,7 @@ vimperator.help = function(section, easter) //{{{ { function findSectionElement(section) { - return vimperator.buffer.evaluateXPath('//code[@class="tag" and text()="' + section + '"]') + return vimperator.buffer.evaluateXPath('//code[@class="tag" and text()="' + section + '"] | id("' + section + '")') .snapshotItem(0); }