xml parsing error only in Edge

Issue #14941297 • Assigned to Steven K.

Details

Author
Michael L.
Created
Dec 4, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

https://www.themidpod.com/listen shows double headlines only in Edge, not in Chrome or Iphone Safari or Firefox. The error is not easy if impossible to debug.

This rss feed jQuery parsing code works in Chrome and Safari on an IPhone but inexplicably doubles the first item in Edge.
$.get("htps://themidpod.libsyn.com/rss", function (data) {
var $XML = $(data);
$XML.find(“item”).each(function (i) {
var $this = $(this),
item = {
title: $this.find(“title”).text(),
link: $this.find(“enclosure”).attr(“url”),
description: $this.find(“description”).text(),
pubDate: $this.find(“pubDate”).text(),

};
var theTitle=’<h3>’ + item.title + '</h3>’;
In the Edge debugger at this point item.title is already "The title goes hereThe title goes here".
Everything that follows is correct.
This can be seen at https://www.themidpod.com/listen. In Edge the title is doubled, in other browsers it is not.
Is this a known issue or something else I need to keep hunting for?
Thanks,
Michael Lasell

Attachments

0 attachments

    Comments and activity

    • I further debugged this and noticed that Edge jQuery implementation is finding and concatenating both

      ...
      

      and

      Other browsers do not do this. Not sure if this is a bug or a feature, but it isn’t the standard other browsers are using. I can figure out a solution for my issue.

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in