← Back to team overview

yellow team mailing list archive

[Bug 742490] Re: HTML is constructed using string concatenation in the structural subscription JS.

 

** Changed in: launchpad
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Launchpad
Yellow Squad, which is a bug assignee.
https://bugs.launchpad.net/bugs/742490

Title:
  HTML is constructed using string concatenation in the structural
  subscription JS.

Status in Launchpad itself:
  Fix Released

Bug description:
  Instead of constructing HTML using string operations we should do
  things like this:

  var link = Y.Node.create("<span>See <a /></span>");
  link.one("a")
      .set("href", url)
      .set("text", desc);

  The code in question is located in lib/lp/registry/javascript
  /structural-subscription.js