Skip to content

Update SearchDocument.php#19

Open
ethanjohnstone wants to merge 1 commit into
HelloBetterLTD:masterfrom
ethanjohnstone:bugfix/searchPath
Open

Update SearchDocument.php#19
ethanjohnstone wants to merge 1 commit into
HelloBetterLTD:masterfrom
ethanjohnstone:bugfix/searchPath

Conversation

@ethanjohnstone

Copy link
Copy Markdown

Shifting further up so it doesn't immediately overwrite what is now line 170 if nodes was of length 0

Shifting further up so it doesn't immediately overwrite what is now line 170 if nodes was of length 0
$nodeValues[] = $node->nodeValue;
}

$contents = implode("\n\n", $nodeValues);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethanjohnstone it'd be nice to stripe tags as well ?

@ethanjohnstone ethanjohnstone Oct 3, 2021

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fonsekaean Would you want that as part of this PR or should I open a separate one for it?
PS. Any chance you could add the Hacktober tag to the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants