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

Incorrect HTML Parsing #185

Closed
b3nav opened this issue Mar 21, 2015 · 1 comment
Closed

Incorrect HTML Parsing #185

b3nav opened this issue Mar 21, 2015 · 1 comment

Comments

@b3nav
Copy link

b3nav commented Mar 21, 2015

The problem is that if I want to have a DIV element and wrap it with tag it parses it wrong. I've the following HTML received as a response from the server:

http://pastebin.com/raw.php?i=fyEcbDxh

Here's my definition of the Infinite Ajax Scroll:

var ias = $('#notifications-dropdown').ias({
container: '#notifications-container',
item: '.notification',
pagination: '#pagination',
next: '.next',
delay: 1500
});

What's more, the initial request is sent multiple times for each time I add an extension, and therefore, end up with duplicates.

@fieg
Copy link
Member

fieg commented May 8, 2015

  1. A div inside a ul is not valid html I believe.
  2. the div with id "notifications-container" isn't closed properly (line 13)

What's more, the initial request is sent multiple times for each time I add an extension, and therefore, end up with duplicates.

Yes, a known issue (#175 and #183).

Fully convinced that the issue is resolved when you fix the html I'm closing this issue. If not resolved, let me know and I can reopen it.

@fieg fieg closed this as completed May 8, 2015
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

No branches or pull requests

2 participants