Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated list diff class to maintain the tags on lists. #23

Merged
merged 2 commits into from
Nov 25, 2015

Conversation

adamCaxy
Copy link
Contributor

* @return string
*/
protected function addListElementToContent($newList, $oldList, array $match)
protected function addListElementToContent($newList, $oldList, array $match, array $index, $type)
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this function is also called on line 465 but it doesn't have these new arguments, which would cause an error.

https://github.com/caxy/php-htmldiff/blob/diff-update-no-tag-attribute-stripping/lib/Caxy/HtmlDiff/ListDiff.php#L465

@jschroed91
Copy link
Member

Just the one comment

@jschroed91 jschroed91 assigned adamCaxy and unassigned jschroed91 Nov 24, 2015
@adamCaxy
Copy link
Contributor Author

Oh man, thanks. I let me update it

jschroed91 added a commit that referenced this pull request Nov 25, 2015
Updated list diff class to maintain the tags on lists.
@jschroed91 jschroed91 merged commit 084747e into master Nov 25, 2015
@jschroed91 jschroed91 deleted the diff-update-no-tag-attribute-stripping branch November 25, 2015 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants