Skip to content
Merged
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 guides/manipulating-pages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The ``NodeElement`` class gives you access to HTML attributes of the element.

$el = $page->find('css', '.something');

if ($el->hasAttribute('href') {
if ($el->hasAttribute('href')) {
echo $el->getAttribute('href');
} else {
echo 'This anchor is not a link. It does not have an href.';
Expand Down